Skip to content
Commit b8cdd877 authored by Eric Miao's avatar Eric Miao Committed by Richard Purdie
Browse files

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: default avatarPeter Edwards <sweetlilmre@gmail.com>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
Signed-off-by: default avatarRichard Purdie <rpurdie@linux.intel.com>
parent 1a468ba1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment