Skip to content
Commit 6de0cb80 authored by Jeremy Kerr's avatar Jeremy Kerr Committed by Bartosz Golaszewski
Browse files

gpio: ftgpio010: use device name for gpiochip name & label



Currently, we use just the fixed string "FTGPIO010" as the gpiochip name
for ftgpio010 drivers. Because it's fixed, this means we cannot
distinguish multiple ftgpio010 devices present on a single system.

This change uses the dev_name() instead, which should be unique between
multiple instances.

Signed-off-by: default avatarJeremy Kerr <jk@codeconstruct.com.au>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 99d18d42
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