i2c: nuc900: remove driver
PATCH v2 1/1 i2c: nuc900: remove driver
Arnd said in another patch:
"As far as I can tell, this driver must have produced this error for as long as it has been merged into the mainline kernel, but it was never part of the normal build tests:
drivers/i2c/busses/i2c-nuc900.c: In function 'nuc900_i2c_probe':drivers/i2c/busses/i2c-nuc900.c:601:17: error: request for member 'apbfreq' in something not a structure or union
ret = (i2c->clk.apbfreq)/(pdata->bus_freq * 5) - 1;
^This is an attempt to get the driver to build and possibly work correctly, although I do wonder whether we should just remove it, as it has clearly never worked."
I agree with removing it since nobody showed interest in Arnd's fixup patch.
---
Change since V1: remove Kconfig and Makefile entries, too
drivers/i2c/busses/Kconfig | 7 - drivers/i2c/busses/Makefile | 1 - drivers/i2c/busses/i2c-nuc900.c | 709 ---------------------------------------- 3 files changed, 717 deletions(-) delete mode 100644 drivers/i2c/busses/i2c-nuc900.c
drivers/i2c/busses/Kconfig +0 -7
@@ -570,13 +570,6 @@ config I2C_NOMADIK I2C interface from ST-Ericsson's Nomadik and Ux500 architectures, as well as the STA2X11 PCIe I/O HUB. -config I2C_NUC900 - tristate "NUC900 I2C Driver" - depends on ARCH_W90X900 - help - Say Y here to include support for I2C controller in the - Winbond/Nuvoton NUC900 based System-on-Chip devices. - config I2C_OCORES tristate "OpenCores I2C Controller" help
drivers/i2c/busses/Makefile +0 -1
@@ -55,7 +55,6 @@ obj-$(CONFIG_I2C_MPC) += i2c-mpc.o obj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o obj-$(CONFIG_I2C_MXS) += i2c-mxs.o obj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o -obj-$(CONFIG_I2C_NUC900) += i2c-nuc900.o obj-$(CONFIG_I2C_OCORES) += i2c-ocores.o obj-$(CONFIG_I2C_OMAP) += i2c-omap.o obj-$(CONFIG_I2C_PASEMI) += i2c-pasemi.o
drivers/i2c/busses/i2c-nuc900.c deleted +0 -709
709 lines not on this page · raw message
Signature · 1 line
2.0.0.rc2
PATCH v2 1/1 i2c: nuc900: remove driver
Quoted 15 lines · On Sunday 01 June 2014 22:35:25 Wolfram Sang wrote:
Arnd said in another patch:
"As far as I can tell, this driver must have produced this error for as long as it has been merged into the mainline kernel, but it was never part of the normal build tests:
drivers/i2c/busses/i2c-nuc900.c: In function 'nuc900_i2c_probe':drivers/i2c/busses/i2c-nuc900.c:601:17: error: request for member 'apbfreq' in something not a structure or unionret = (i2c->clk.apbfreq)/(pdata->bus_freq * 5) - 1; ^This is an attempt to get the driver to build and possibly work correctly, although I do wonder whether we should just remove it, as it has clearly never worked."
Quoted 7 lines
I agree with removing it since nobody showed interest in Arnd's fixup patch.
Reported-by Arnd Bergmann <[email protected]>Signed-off-by Wolfram Sang <[email protected]>Cc Wan ZongShun <[email protected]>
Wolfram Sang
AppliedPATCH v2 1/1 i2c: nuc900: remove driver
In reply to Wolfram SangQuoted 15 lines · Wolfram Sang
Arnd said in another patch:
"As far as I can tell, this driver must have produced this error for as long as it has been merged into the mainline kernel, but it was never part of the normal build tests:
drivers/i2c/busses/i2c-nuc900.c: In function 'nuc900_i2c_probe':drivers/i2c/busses/i2c-nuc900.c:601:17: error: request for member 'apbfreq' in something not a structure or unionret = (i2c->clk.apbfreq)/(pdata->bus_freq * 5) - 1; ^This is an attempt to get the driver to build and possibly work correctly, although I do wonder whether we should just remove it, as it has clearly never worked."
Quoted 6 lines
I agree with removing it since nobody showed interest in Arnd's fixup patch.
Reported-by Arnd Bergmann <[email protected]>Signed-off-by Wolfram Sang <[email protected]>Cc Wan ZongShun <[email protected]>
Applied to for-next, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140602/815b759b/attachment.sig>