regulator: rpi-panel: Register with a unique backlight name
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 11 Feb 2021 18:46:06 +0000 (18:46 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 14 Sep 2021 12:04:20 +0000 (13:04 +0100)
commite2c4a8d98c30b6c4130d13122da158037228d91c
tree2b26cd042f35423dc9b5f7d589377588d64a3391
parentba209048b9ee073bc25a71297759cbafd00c68eb
regulator: rpi-panel: Register with a unique backlight name

There's no reason why 2 Raspberry Pi DSI displays can't be
attached to a Pi Compute Module, so the backlight names need to
be unique.

Use the parent dev_name. It's not as readable, but is unique.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/regulator/rpi-panel-attiny-regulator.c