gpio: sim: delimit the fwnode name with a ":" when generating labels
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 20 Feb 2024 13:54:31 +0000 (14:54 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 26 Feb 2024 15:43:51 +0000 (16:43 +0100)
commit840a97e2fbaf5315f9705b97e99aa97e5e5fd6cb
tree8ec77a5ac6779674abcf4cb20a5bd190bcdb9029
parent11498d99008fbe6a23e827773d9ee47728f23aa6
gpio: sim: delimit the fwnode name with a ":" when generating labels

Typically, whenever a human-readable name is created for objects using
a software node, its name is delimited with ":" as dashes are often used
in other parts of the name. Make gpio-sim use the same pattern. This
results in better looking default names:

  gpio-sim.0:node0
  gpio-sim.0:node1
  gpio-sim.1:node0

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sim.c