]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/video/backlight/lm3639_bl.c: fix up world writable sysfs file
authorAxel Lin <axel.lin@ingics.com>
Tue, 18 Dec 2012 00:00:59 +0000 (16:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:16 +0000 (17:15 -0800)
commit4ed5f4fd0d252dfabd1223e7a23559cc531db2c1
tree2b557d60f599ca8a4280e721f1dc52c8122c8c2b
parent2ad195fbaf7f66602a0d506e0e6fe36fc92f7cea
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/lm3639_bl.c