]> err.no Git - linux-2.6/commit
[ARM] 5045/1: magician: use the pwm_bl driver for the LCD backlight
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 22 May 2008 13:20:01 +0000 (14:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Jul 2008 12:25:08 +0000 (13:25 +0100)
commit85847a360ff5012ed7932bb5bb63566ad584e02f
treef230dbfc1b488cb558786ef77847f602b8eeb6a8
parent43bda1a6d218744382547a2f8be3240d1c3a151b
[ARM] 5045/1: magician: use the pwm_bl driver for the LCD backlight

magician has a GPIO that modifies the brightness level additionally to
the PWM duty value. This patch makes use of the pwm_bl notify callback
to present userspace with a single brightness scale.
This gets rid of the pxa_set_cken calls and direct PWM register access.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/magician.c