]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/class.c: use struct device as the first argument for devm_rtc_device_regi...
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:54 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:31 +0000 (15:33 +1100)
commit8c691396980d5e7b529e638c14b78e888fc32741
tree6c0598371a4e2961af7c8195529b4dce393682f1
parent789e6b5f08acc683884c1fc16f9206924b192432
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>
drivers/rtc/class.c
include/linux/rtc.h