]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drivers/video/backlight/lp855x_bl.c: remove unnecessary mutex code
authorKim, Milo <Milo.Kim@ti.com>
Tue, 18 Dec 2012 00:00:45 +0000 (16:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:16 +0000 (17:15 -0800)
commiteaa4d02fbaf49e57f8a18f68e736e34c514030a2
tree9c9655309d7fa519713c277e9f7dd190ceda1c39
parent8cc9764c9c7d01a6e2c3ddac8f0ac7716be01868
drivers/video/backlight/lp855x_bl.c: remove unnecessary mutex code

The mutex for accessing lp855x registers is used in case of the user-space
interaction.  When the brightness is changed via sysfs, the mutex is
required.  But the backlight class device already provides it.  Thus, the
lp855x mutex is unnecessary.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/lp855x_bl.c