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 <cooloney@gmail.com>
Mon, 26 Nov 2012 22:28:50 +0000 (14:28 -0800)
commit5cce0105c8d07d3bd5f578c77d273e1a1e09f157
tree533f54f5458054fa1e5db3cfb8b76ccce26b9a50
parent5bbf150cca196cb973e14d0a80508ba7f588dfd1
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