[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130225153811.2408f9c0.akpm@linux-foundation.org>
Date: Mon, 25 Feb 2013 15:38:11 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: "'Tejun Heo'" <tj@...nel.org>
Cc: Jingoo Han <jg1.han@...sung.com>, linux-kernel@...r.kernel.org,
"'Alessandro Zummo'" <a.zummo@...ertech.it>,
rtc-linux@...glegroups.com
Subject: Re: [PATCH] rtc: add devm_rtc_device_{register,unregister}()
On Mon, 25 Feb 2013 15:33:45 -0800
"'Tejun Heo'" <tj@...nel.org> wrote:
> On Mon, Feb 25, 2013 at 02:29:57PM -0800, Andrew Morton wrote:
> > > + * Managed rtc_device_register(). The rtc_device returned from this function
> > > + * are automatically freed on driver detach. See rtc_device_register()
> > > + * for more information.
> > > + */
> >
> > I think the name is inappropriate. devm functions start with "devm"
> > and rtc functions start with "rtc" and this code is a part of rtc core,
> > not a part of devm core. Hence it should be something like
> > "rtc_devm_device_register".
>
> I think devm_rtc_ is better. All other devm interface functions put
> devm_ prefix first
makes no sense. Whatever.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists