]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: SEAD3: Nuke PIC32 I2C driver.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 24 Oct 2014 11:27:37 +0000 (13:27 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 24 Oct 2014 11:27:37 +0000 (13:27 +0200)
commit3a1650502e5f77ca92121542bd6914f096ba0c37
tree08a2a605e515182371b7ac36dcfac976b0844d64
parent64d2649e9f9d528400f3c17088e23e5b534b6cfc
MIPS: SEAD3: Nuke PIC32 I2C driver.

A platform driver for which nothing ever registers the corresponding
platform device.

Also it was driving the same hardware as sead3-i2c-drv.c so redundant
anyway and couldn't co-exist with that driver because each of them was
using a private spinlock to protect access to the same hardware
resources.

This also fixes a randconfig problem:

arch/mips/mti-sead3/sead3-pic32-i2c-drv.c: In function 'i2c_platform_probe':
arch/mips/mti-sead3/sead3-pic32-i2c-drv.c:345:2: error: implicit declaration of
function 'i2c_add_numbered_adapter' [-Werror=implicit-function-declaration]
  ret = i2c_add_numbered_adapter(&priv->adap);
    ^
arch/mips/mti-sead3/sead3-pic32-i2c-drv.c: In function
'i2c_platform_remove':
arch/mips/mti-sead3/sead3-pic32-i2c-drv.c:361:2: error: implicit declaration
of function 'i2c_del_adapter' [-Werror=implicit-function-declaration]
i2c_del_adapter(&priv->adap);

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mti-sead3/Makefile
arch/mips/mti-sead3/sead3-pic32-bus.c [deleted file]
arch/mips/mti-sead3/sead3-pic32-i2c-drv.c [deleted file]