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

From: Viresh Kumar
Date: Wed Mar 06 2013 - 08:39:38 EST


On Wed, Mar 6, 2013 at 3:54 PM, Jingoo Han <jg1.han@xxxxxxxxxxx> wrote:
> devm_rtc_device_register() is device managed and makes cleanup
> paths simpler.
>
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/