]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: lm355x: Fix up world writable sysfs file
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Oct 2012 08:40:21 +0000 (01:40 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Thu, 1 Nov 2012 22:48:02 +0000 (15:48 -0700)
commit2b5fac3741bd497224764dd9f66686db5b5119bf
tree5a93a1625069103af39ca5ec42bca26423c9b79b
parent38cf8215d6e6a89bd373b3ebbbc87677e3f87dc3
leds: lm355x: Fix up world writable sysfs file

We don't need the sysfs file to be world writable or group writable.
This file is write-only, change it to S_IWUSR (0200).

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: G.Shark Jeong <gshark.jeong@gmail.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-lm355x.c