]> git.kernelconcepts.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>
Sat, 3 Nov 2012 00:42:47 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Nov 2012 04:15:24 +0000 (15:15 +1100)
commit639a7e9e196d8442946d9914a3cf24b91d1edd62
treea153418c155cf7c4eda126d81395ce736007e5d8
parent8a1624df32deaf9ef80b6e185f0d87e4fdc77f9c
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