i2c: nuc900: remove driver
authorWolfram Sang <wsa@the-dreams.de>
Sun, 1 Jun 2014 20:35:25 +0000 (22:35 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 2 Jun 2014 17:18:37 +0000 (19:18 +0200)
commit7da62cb1853025a579a8942fc4d7c9dee6afb73e
treee3b3a048bd850364289f7fbc424188a94de9815b
parent9b2a6da33ccb1bc0d68f4319cef7c7299727ac4d
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.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: Wan ZongShun <mcuos.com@gmail.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-nuc900.c [deleted file]