Skip to content

Commit f9335bb

Browse files
Sakari Ailussre
authored andcommitted
power: supply: twl4030_charger: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy(). Signed-off-by: Sakari Ailus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 2453753 commit f9335bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/power/supply/twl4030_charger.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@ static int twl4030_charger_enable_usb(struct twl4030_bci *bci, bool enable)
512512
ret |= twl_i2c_write_u8(TWL_MODULE_MAIN_CHARGE, 0x2a,
513513
TWL4030_BCIMDKEY);
514514
if (bci->usb_enabled) {
515-
pm_runtime_mark_last_busy(bci->transceiver->dev);
516515
pm_runtime_put_autosuspend(bci->transceiver->dev);
517516
bci->usb_enabled = 0;
518517
}

0 commit comments

Comments
 (0)