]> 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>
Wed, 20 Mar 2013 04:23:06 +0000 (15:23 +1100)
commit0fee9a36d2bcfa4fc1cecbb76f20ffe5d03e0578
treec0e53847627486e4fe8b771aa36cd6341f71a062
parenta254c71419892b20e6737c7f63f87432672d72d6
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