]> 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>
Thu, 21 Mar 2013 05:34:08 +0000 (16:34 +1100)
commitbb33c57b1350e78ab2769637acc63b568f91581b
treedfd77412eaec78d95a72868331133b256e5d720b
parent2d79eaa77c5eb2eb0f6b449218f7f607e0dda030
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