Re: [PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Reduce code duplication in at25_ee_read() by using the > spi_message_init_with_transfers() helper. > > Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann

Re: [PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Reduce code duplication in at25_ee_read() by using the > spi_message_init_with_transfers() helper. > > Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c