Re: [PATCH v2 3/3] RTC: switch to using is_visible() to control sysfs attributes

Alexandre Belloni
2015-08-05T01:41:08Z

On 23/07/2015 at 16:01:08 -0700, Dmitry Torokhov wrote :
> Instead of creating wakealarm attribute manually, after the device has been
> registered, let's rely on facilities provided by the attribute groups to
> control which attributes are visible and which are not. This allows to to
> create all needed attributes at once, at the same time that we register RTC
> class device.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering