backlight: give platform_lcd the same name as the platform device.
authorBen Dooks <ben-linux@fluff.org>
Wed, 30 Jul 2008 05:32:56 +0000 (22:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2008 16:41:43 +0000 (09:41 -0700)
commite958d3ace7791f33518f0259cd3cf229408b135c
tree9bdc01f5d42e2b2da6f7acce6dc90ea5851542f5
parent6e86841d05f371b5b9b86ce76c02aaee83352298
backlight: give platform_lcd the same name as the platform device.

When registering an platform_lcd, use the name of the platform device
specified in case there are more than one platform_lcd backlights
registered.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/platform_lcd.c