]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Fix i2c-gpio GPIO descriptor tables
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 26 May 2018 16:37:34 +0000 (18:37 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 26 May 2018 18:44:00 +0000 (11:44 -0700)
commit07633c9282f95dad9a06ac88b4fba406dff36014
tree07c0641e3647fe7a54ccb304365d871c2739cc20
parent394de2bf1230f714022f8560006de1ff2c69b7bc
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: e654d6928d5e ("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>
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ixp4xx/avila-setup.c
arch/arm/mach-ixp4xx/dsmg600-setup.c
arch/arm/mach-ixp4xx/fsg-setup.c
arch/arm/mach-ixp4xx/ixdp425-setup.c
arch/arm/mach-ixp4xx/nas100d-setup.c
arch/arm/mach-ixp4xx/nslu2-setup.c
arch/arm/mach-pxa/palmz72.c
arch/arm/mach-pxa/viper.c
arch/arm/mach-sa1100/simpad.c