summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-08-28 17:02:19 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-14 16:52:41 +0200
commit86854b4379d43aaffdbe1fac0879cce543247e9b (patch)
tree4bea51b233ee49a2bb9636185cae3ecef17f340c /drivers/rtc
parent8988bacd6045adf39719e5057e43170f83bd1709 (diff)
driver core: platform: Make use of the helper macro SET_RUNTIME_PM_OPS()
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little clearer, a little more concise. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Link: https://lore.kernel.org/r/20210828090219.1177-1-caihuoqing@baidu.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions