mmc: omap_hsmmc: Make use of the helper macro SET_RUNTIME_PM_OPS()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 02:59:39 +0000 (10:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Oct 2021 08:21:17 +0000 (10:21 +0200)
commitc88cb98e61395bae3350a4b721dfc2f9bcb74f5a
tree83ce787cf1bb93d3b188075de1644044a0f8ca01
parentb3f8eb6eb213977cb4e84af4067b234356936f82
mmc: omap_hsmmc: 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 more concise.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210907025940.1535-1-caihuoqing@baidu.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c