]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: hid-sensor-time: use devm_rtc_device_register()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:08:16 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:20 +0000 (16:34 +1100)
commitda0f2e09b15e3cd84b89e0a232cb836cfc81a9d4
treea3fa5dbbe6efc863246181e72fa1ae857b42d005
parent9febade14f8e95933b35a56275e18aba4f04655f
rtc: hid-sensor-time: use devm_rtc_device_register()

devm_rtc_device_register() is device managed and makes cleanup paths
simpler.

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