]> 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)
commit9d8048233299cf807a3573d9ef4b706dd2e22ed7
treee330704c3e45a39920721eb27a07773c8800d2c5
parent49236733d1bfd7a18d132ec7a2f997027f7a6b5a
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")
e06560c88712 ("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