]> 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>
Thu, 29 Nov 2012 03:18:28 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:31 +0000 (16:23 +1100)
commita4291385e828b59c12e423cd81b2b06d9be4a7ca
treeb690548c0e57e7a6d0de35d4e420130d2e6577d2
parent4ebf11dcf410b733e51e2386f26b75cb7b841c7e
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