backlight: fix pwm_bl.c when multiple PWM backlights exist
authorEric Miao <eric.y.miao@gmail.com>
Tue, 10 Feb 2009 05:30:37 +0000 (13:30 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 6 Apr 2009 15:06:55 +0000 (16:06 +0100)
commitb8cdd877f2cbcc07b5a287b7273a8eaa4c11ad04
treeb5647a9b6ce0fed72f19484323ec2054822d3a65
parent1a468ba10c3bdbc25ef7aa7fecda20ee27007bdf
backlight: fix pwm_bl.c when multiple PWM backlights exist

When multiple PWMs are used as backlights, the current code uses
pdev->name as the backlight name when registering, which will be
conflicting, use dev_name() instead.

Signed-off-by: Peter Edwards <sweetlilmre@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/pwm_bl.c