[PATCH] backlight: HP Jornada 680 Backlight driver updates/fixes
authorRichard Purdie <rpurdie@rpsys.net>
Fri, 31 Mar 2006 10:31:50 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:19:00 +0000 (12:19 -0800)
commit5f27a27bd77fcfd4b90ed33668940bc3cf72768b
tree75886974943aa5dea93cfb354d8f521ca4002573
parent6ca017658b1f902c9bba2cc1017e301581f7728d
[PATCH] backlight: HP Jornada 680 Backlight driver updates/fixes

Updates to the HP Jornada 680 Backlight driver:

- Correct the suspend/resume functions so the driver compiles
  (SUSPEND_POWER_DOWN/RESUME_POWER_ON no longer exist).

- Convert the driver to match the recent platform device changes.

- Replace the unsafe static struct platform_device with dynamic allocation.

- Convert the driver to the new backlight code.

This has not been tested on a device due to lack of hardware but wouldn't
compile beforehand.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/backlight/hp680_bl.c