summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlliver Schinagl <oliver@schinagl.nl>2015-10-27 00:32:37 +0300
committerThierry Reding <thierry.reding@gmail.com>2015-11-10 15:06:46 +0300
commit65cdc6914a959d8e1ea562f05fb323a0b8cb7cb1 (patch)
treeb16b7c918e6b226d4fef008facb9235653ef6986 /include
parent0344d0d69b3360ec551581c141c6599a0dcb5f27 (diff)
downloadlinux-65cdc6914a959d8e1ea562f05fb323a0b8cb7cb1.tar.xz
pwm: sysfs: Make use of the DEVICE_ATTR_[RW][WO] macro's
For the npwm property the PWM sysfs interface already made use of the DEVICE_ATTR_RO macro. This patch expands this to the other sysfs properties so that the code base is concise and makes use of this helpful macro. This has the advantage of slightly reducing the code size, improving readability and no longer using magic values for permissions. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions