]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-sh: switch to using SIMPLE_DEV_PM_OPS
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:23 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:21 +0000 (15:23 +1100)
commit764121f9084779157301d9e8f0db2ef9b6e2cae3
treeb44e783694f415a6394d285dc813b46d51a1e2ec
parentdc49732bc2c438cee79c62ca36ee1d423c26d54f
rtc: rtc-sh: switch to using SIMPLE_DEV_PM_OPS

Switch to using the SIMPLE_DEV_PM_OPS macro to declare the driver's
pm_ops.  It reduces code size.  Also, CONFIG_PM_SLEEP is added to prevent
build warning when CONFIG_PM_SLEEP is not selected.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-sh.c