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)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:22 +0000 (16:04 +0000)
commitf6d8378065c69a88ece68523320b9b59c156aafc
tree5a82832a22e8f2ae76df40a1734e62f8e6e53dde
parent5134e80d5cb0bb076061e39db84c33854068966a
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