Re: [PATCH 3/3] usb: renesas_usbhs: Remove dummy runtime PM callbacks

From: Wolfram Sang <hidden>
Date: 2018-10-25 22:57:42
Also in: linux-i2c, linux-renesas-soc, linux-usb, netdev

On Wed, Oct 24, 2018 at 04:51:34PM +0300, Jarkko Nikula wrote:
Platform drivers don't need dummy runtime PM callbacks that just return
success in order to have runtime PM happening. This has changed since
following commits:

05aa55dddb9e ("PM / Runtime: Lenient generic runtime pm callbacks")
543f2503a956 ("PM / platform_bus: Allow runtime PM by default")
8b313a38ecff ("PM / Platform: Use generic runtime PM callbacks directly")

Signed-off-by: Jarkko Nikula <redacted>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
 static const struct dev_pm_ops usbhsc_pm_ops = {
 	.suspend		= usbhsc_suspend,
 	.resume			= usbhsc_resume,
Unrelated to this patch, but I wonder right now: is there a reason not
to use SET_SYSTEM_SLEEP_PM_OPS here? Shimoda-san?

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help