regulator: rpi-panel: Register with a unique backlight name
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 24 Jan 2022 22:01:21 +0000 (17:01 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 28 Jan 2022 20:55:44 +0000 (20:55 +0000)
commit7291e7d686308b4a77f43225eaf1753cb20cc692
treeb9ea39ee92767dbbc749e64d69df90017776b9bc
parentbef8c5fdf50b573351571e94525800c41d9830f2
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>
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Link: https://lore.kernel.org/r/20220124220129.158891-2-detlev.casanova@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rpi-panel-attiny-regulator.c