Home
last modified time | relevance | path

Searched hist:"3 ee2c40b7ac2bf121aaa1176d8ac25b6a26e3a94" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/rtc/
H A Drtc-core.hdiff 3ee2c40b7ac2bf121aaa1176d8ac25b6a26e3a94 Fri Jul 24 01:01:08 CEST 2015 Dmitry Torokhov <dmitry.torokhov@gmail.com> rtc: switch to using is_visible() to control sysfs attributes

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
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>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
H A Dclass.cdiff 3ee2c40b7ac2bf121aaa1176d8ac25b6a26e3a94 Fri Jul 24 01:01:08 CEST 2015 Dmitry Torokhov <dmitry.torokhov@gmail.com> rtc: switch to using is_visible() to control sysfs attributes

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
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>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>