Re: [PATCH V2 22/30] rtc: rtc-spear: use devm_rtc_device_register()

Viresh Kumar
2013-03-06T13:39:31Z

On Wed, Mar 6, 2013 at 3:54 PM, Jingoo Han <jg1.han@samsung.com> wrote:
> devm_rtc_device_register() is device managed and makes cleanup
> paths simpler.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
> Changes since v1:
> - used 'struct device *dev' as the first argument
>
> drivers/rtc/rtc-spear.c | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>