aboutsummaryrefslogtreecommitdiff
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorOlliver Schinagl <[email protected]>2015-10-26 22:32:37 +0100
committerThierry Reding <[email protected]>2015-11-10 13:06:46 +0100
commit65cdc6914a959d8e1ea562f05fb323a0b8cb7cb1 (patch)
treeb16b7c918e6b226d4fef008facb9235653ef6986 /fs/filesystems.c
parent0344d0d69b3360ec551581c141c6599a0dcb5f27 (diff)
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions