From 3ccea0e1fdf896645f8cccddcfcf60cb289fdf76 Mon Sep 17 00:00:00 2001 From: Andrew Lunn Date: Fri, 26 Feb 2016 20:59:21 +0100 Subject: eeprom: at25: Remove in kernel API for accessing the EEPROM The setup() callback is not used by any in kernel code. Remove it. Any new code which requires access to the eeprom can use the NVMEM API. Signed-off-by: Andrew Lunn Acked-by: Srinivas Kandagatla Acked-by: Wolfram Sang Signed-off-by: Greg Kroah-Hartman --- include/linux/spi/eeprom.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/linux/spi/eeprom.h') diff --git a/include/linux/spi/eeprom.h b/include/linux/spi/eeprom.h index 403e007..e34e169 100644 --- a/include/linux/spi/eeprom.h +++ b/include/linux/spi/eeprom.h @@ -30,8 +30,6 @@ struct spi_eeprom { */ #define EE_INSTR_BIT3_IS_ADDR 0x0010 - /* for exporting this chip's data to other kernel code */ - void (*setup)(struct memory_accessor *mem, void *context); void *context; }; -- cgit v1.1