summaryrefslogtreecommitdiffstats
path: root/include/linux/spi
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2016-02-26 20:59:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-01 16:55:48 -0800
commit3ccea0e1fdf896645f8cccddcfcf60cb289fdf76 (patch)
treefa1f3f4548bb67dfeb104e7de68ab360db575876 /include/linux/spi
parent57d155506dd5e8f8242d0310d3822c486f70dea7 (diff)
downloadop-kernel-dev-3ccea0e1fdf896645f8cccddcfcf60cb289fdf76.zip
op-kernel-dev-3ccea0e1fdf896645f8cccddcfcf60cb289fdf76.tar.gz
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 <andrew@lunn.ch> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/spi')
-rw-r--r--include/linux/spi/eeprom.h2
1 files changed, 0 insertions, 2 deletions
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;
};
OpenPOWER on IntegriCloud