commit | 0ed5054447462976b7577ccf08d422c93ea38095 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Apr 29 16:20:00 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 29 18:28:32 2013 -0700 |
tree | c4f60b13100e232a1fd1caa62885b307a3939cc1 | |
parent | aaa92fae8c9c3cee7f39e64b1a44df3d77320d49 [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>