linux/drivers/misc/eeprom
YueHaibing 5fe9f6ccbb eeprom: at25: remove unneeded 'at25_remove'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/misc/eeprom/at25.c: In function 'at25_remove':
drivers/misc/eeprom/at25.c:384:20: warning:
 variable 'at25' set but not used [-Wunused-but-set-variable]

Since commit 96d08fb43e ("eeprom: at25: use devm_nvmem_register()"),
at25_remove is do nothing, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-15 20:51:46 +02:00
..
at24.c eeprom: at24: Add support for address-width property 2018-07-25 09:17:57 +02:00
at25.c eeprom: at25: remove unneeded 'at25_remove' 2018-10-15 20:51:46 +02:00
digsy_mtc_eeprom.c spi: spi-gpio: Rewrite to use GPIO descriptors 2018-02-14 16:02:41 +00:00
eeprom_93cx6.c eeprom-93cx6: Add (read-only) support for 8-bit mode 2014-11-25 15:42:53 +01:00
eeprom_93xx46.c eeprom: eeprom_93xx46: use resource management 2018-09-28 15:14:53 +02:00
eeprom.c MISC: add const to bin_attribute structures 2017-08-28 16:55:48 +02:00
idt_89hpesx.c eeprom: idt_89hpesx: clean up an error pointer vs NULL inconsistency 2018-08-02 10:42:25 +02:00
Kconfig eeprom: at24: add basic regmap_i2c support 2018-01-01 19:40:46 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
max6875.c misc: eeprom: assignment outside the if statement 2018-08-05 16:25:10 +02:00