mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
57d155506d
commit
3ccea0e1fd
2 changed files with 0 additions and 28 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue