]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: sh_mobile: Remove dummy runtime PM callbacks
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 24 Oct 2018 13:51:32 +0000 (16:51 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 29 Oct 2018 18:53:38 +0000 (18:53 +0000)
commite8ac01ac40f7443312bae5014f6fbd3d5878bd8e
treee330704c3e45a39920721eb27a07773c8800d2c5
parent05d9421849e1cab8c18933e4fc373a51c2ee7e85
i2c: sh_mobile: Remove dummy runtime PM callbacks

Platform drivers don't need dummy runtime PM callbacks that just return
success and non-NULL pm pointer in their struct device_driver in order
to have runtime PM happening. This has changed since following commits:

8451e7e62c0c ("PM / Runtime: Lenient generic runtime pm callbacks")
7e6b3bfc1a57 ("PM / platform_bus: Allow runtime PM by default")
ef97a9560858 ("PM / Platform: Use generic runtime PM callbacks directly")

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c