diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-12-02 09:43:21 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 08:26:24 +0100 |
commit | 5128f8d4450159f59565d247437d3bedda3994cb (patch) | |
tree | 82dc14ac0df2d1f3bc1727cf2f2131a4d65bd17d /arch/arm/mach-pxa | |
parent | mmc: s3cmci: Use the slot GPIO descriptor (diff) | |
download | linux-5128f8d4450159f59565d247437d3bedda3994cb.tar.xz linux-5128f8d4450159f59565d247437d3bedda3994cb.zip |
gpio: name PCA953x gpio chips after device name
Instead of using the name directly from the I2C client
to name the gpio_chip, use dev_name() on the client->dev,
so we get the sometimes more unique device name, as I2C has
a mechanism for naming its devices explicitly in e.g.
board data.
This is a prerequisite for being able to reference
uniquely any I2C GPIO expander defined in a board file
when setting up GPIO descriptor tables.
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions