Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-08-04 Thread Alexandre Belloni
On 23/07/2015 at 16:01:07 -0700, Dmitry Torokhov wrote : > Instead of using older style DEVICE_ATTR for wakealarm attribute let's > switch to using DEVICE_ATTR_RW that ensures consistent across the kernel > permissions on the attribute. > > Signed-off-by: Dmitry Torokhov Applied, thanks. --

Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-08-04 Thread Alexandre Belloni
On 23/07/2015 at 16:01:07 -0700, Dmitry Torokhov wrote : Instead of using older style DEVICE_ATTR for wakealarm attribute let's switch to using DEVICE_ATTR_RW that ensures consistent across the kernel permissions on the attribute. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com

Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-07-23 Thread Krzysztof Kozlowski
On 24.07.2015 08:01, Dmitry Torokhov wrote: > Instead of using older style DEVICE_ATTR for wakealarm attribute let's > switch to using DEVICE_ATTR_RW that ensures consistent across the kernel > permissions on the attribute. > > Signed-off-by: Dmitry Torokhov > --- > drivers/rtc/rtc-sysfs.c | 8

[PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-07-23 Thread Dmitry Torokhov
Instead of using older style DEVICE_ATTR for wakealarm attribute let's switch to using DEVICE_ATTR_RW that ensures consistent across the kernel permissions on the attribute. Signed-off-by: Dmitry Torokhov --- drivers/rtc/rtc-sysfs.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-)

[PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-07-23 Thread Dmitry Torokhov
Instead of using older style DEVICE_ATTR for wakealarm attribute let's switch to using DEVICE_ATTR_RW that ensures consistent across the kernel permissions on the attribute. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/rtc/rtc-sysfs.c | 8 +++- 1 file changed, 3

Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW

2015-07-23 Thread Krzysztof Kozlowski
On 24.07.2015 08:01, Dmitry Torokhov wrote: Instead of using older style DEVICE_ATTR for wakealarm attribute let's switch to using DEVICE_ATTR_RW that ensures consistent across the kernel permissions on the attribute. Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com ---