Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1200347

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

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW
Date 2015-08-05 03:50 +0200
Message-ID <pTW0a-3pK-13@gated-at.bofh.it> (permalink)
References <pPxMJ-4tL-9@gated-at.bofh.it> <pPxMJ-4tL-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.torokhov@gmail.com>
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/3] RTC: make rtc_does_wakealarm() return boolean Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-07-24 01:10 +0200
  [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-07-24 01:10 +0200
    Re: [PATCH v2 2/3] RTC: switch wakealarm attribute to DEVICE_ATTR_RW Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-08-05 03:50 +0200
  [PATCH v2 3/3] RTC: switch to using is_visible() to control sysfs attributes Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-07-24 01:10 +0200
    Re: [PATCH v2 3/3] RTC: switch to using is_visible() to control  sysfs attributes Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-08-05 03:50 +0200
  Re: [PATCH v2 1/3] RTC: make rtc_does_wakealarm() return boolean Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-08-05 03:50 +0200

csiph-web