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 one affected board in the MIPS tree. Sorry.
Fixes: b2e63555592f ("i2c: gpio: Convert to use descriptors")
Reported-by: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.15+
Patchwork: https://patchwork.linux-mips.org/patch/19387/
Signed-off-by: James Hogan <jhogan@kernel.org>
|
||
|---|---|---|
| .. | ||
| clock.c | ||
| common.c | ||
| common.h | ||
| dev-common.c | ||
| dev-common.h | ||
| dev-gpio-buttons.c | ||
| dev-gpio-buttons.h | ||
| dev-leds-gpio.c | ||
| dev-leds-gpio.h | ||
| dev-spi.c | ||
| dev-spi.h | ||
| dev-usb.c | ||
| dev-usb.h | ||
| dev-wmac.c | ||
| dev-wmac.h | ||
| early_printk.c | ||
| irq.c | ||
| Kconfig | ||
| mach-ap81.c | ||
| mach-ap121.c | ||
| mach-ap136.c | ||
| mach-db120.c | ||
| mach-pb44.c | ||
| mach-ubnt-xm.c | ||
| machtypes.h | ||
| Makefile | ||
| pci.c | ||
| pci.h | ||
| Platform | ||
| prom.c | ||
| setup.c | ||