]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/lm3639_bl.c: fix up world writable sysfs file
authorAxel Lin <axel.lin@ingics.com>
Fri, 9 Nov 2012 03:04:48 +0000 (14:04 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:20 +0000 (15:17 +1100)
commitc15a20df21fc945fc43bbfc3979023173f8775c9
tree3ba6ce54d767746cd36be75a66f27357af77e5bc
parent0f1ed2d229409b83a659879ac0fbf356e361dc93
drivers/video/backlight/lm3639_bl.c: 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: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lm3639_bl.c