diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-05-26 18:37:34 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-05-26 11:44:00 -0700 |
commit | f59c303b59b7404e5da70b80b6340b199cb95650 (patch) | |
tree | 07c0641e3647fe7a54ccb304365d871c2739cc20 /arch/arm/mach-sa1100 | |
parent | 0ec46ab6425dfd4592989ca53fb6d8492e5d15dd (diff) | |
download | linux-stable-f59c303b59b7404e5da70b80b6340b199cb95650.tar.gz linux-stable-f59c303b59b7404e5da70b80b6340b199cb95650.tar.bz2 linux-stable-f59c303b59b7404e5da70b80b6340b199cb95650.zip |
ARM: Fix i2c-gpio GPIO descriptor tables
I used bad names in my clumsiness when rewriting many board
files to use GPIO descriptors instead of platform data. A few
had the platform_device ID set to -1 which would indeed give
the device name "i2c-gpio".
But several had it set to >=0 which gives the names
"i2c-gpio.0", "i2c-gpio.1" ...
Fix the offending instances in the ARM tree. Sorry for the
mess.
Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors")
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Reported-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-sa1100')
-rw-r--r-- | arch/arm/mach-sa1100/simpad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index ace010479eb6..f45aed2519ba 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c @@ -327,7 +327,7 @@ static struct platform_device simpad_gpio_leds = { * i2c */ static struct gpiod_lookup_table simpad_i2c_gpiod_table = { - .dev_id = "i2c-gpio", + .dev_id = "i2c-gpio.0", .table = { GPIO_LOOKUP_IDX("gpio", 21, NULL, 0, GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN), |