[PATCH] eeprom: at25: Convert the driver to the spi-mem interface
gregkh at linuxfoundation.org
Thu Apr 25 12:44:51 PDT 2019
On Sat, Mar 30, 2019 at 03:16:37PM +0100, Boris Brezillon wrote:
> The AT25 protocol fits pretty well in the spi-mem model. Convert the
> at25 spi driver to a spi-mem driver and use the dirmap API instead of
> forging SPI messages manually.
> This makes the driver compatible with spi-mem-only controllers
> (controllers implementing only the spi_mem ops).
> Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
> drivers/misc/eeprom/at25.c | 282 +++++++++++++++++++++++--------------
> 1 file changed, 176 insertions(+), 106 deletions(-)
Will there be a new version of this to fix up the problems that 0-day
found in it?
More information about the linux-mtd