MIPS: pb44: Fix i2c-gpio GPIO descriptor table
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 26 May 2018 17:12:51 +0000 (19:12 +0200)
committerJames Hogan <jhogan@kernel.org>
Mon, 18 Jun 2018 21:19:50 +0000 (22:19 +0100)
commit326345f995a83e326fa2e01d54bfa9a6a307bd4d
tree852fdc6af0aa418742323a37b59b70d14cfd6350
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
MIPS: pb44: Fix i2c-gpio GPIO descriptor table

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>
arch/mips/ath79/mach-pb44.c