]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: lm3642: Fix up world writable sysfs files
authorAxel Lin <axel.lin@ingics.com>
Mon, 29 Oct 2012 08:41:46 +0000 (01:41 -0700)
committerBryan Wu <roc@roc-samos.(none)>
Thu, 1 Nov 2012 22:48:03 +0000 (15:48 -0700)
commitc84f14df09f1fc84e6bcdc885cb1a3b6e1470290
tree77ad968106f877084f8121b6eaaa8f4c6c6401ec
parent2b5fac3741bd497224764dd9f66686db5b5119bf
leds: lm3642: Fix up world writable sysfs files

We don't need these sysfs files to be world writable or group writable.
These files are write-only, change them 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-lm3642.c