drivers/rtc/class.c: use struct device as the first argument for devm_rtc_device_regi...
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:33 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:22 +0000 (18:28 -0700)
commit6636a9944b9d3b6c4a0a27d5be5abc49ceca3381
tree2a33f5f28b66ecb2169f720c5d8fdd3022133a05
parente2bf1151edcdb44e9e871e90e7331dc760c9f856
drivers/rtc/class.c: use struct device as the first argument for devm_rtc_device_register()

Other devm_* APIs use 'struct device *dev' as the first argument.  Thus,
in order to sync with other devm_* functions, struct device is used as
the first argument for devm_rtc_device_register().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/class.c
include/linux/rtc.h