Re: [PATCH] rtc: isl1208: Use i2c block read/write routines

From: Alexandre Belloni
Date: Thu Nov 22 2018 - 12:13:05 EST


On 15/11/2018 18:51:18+0000, Trent Piepho wrote:
> The Linux i2c layer has functions to execute common SMBUS/I2C
> transactions. The register access code here is identical to the I2C
> read/write block data routines.
>
> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
> Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> Signed-off-by: Trent Piepho <tpiepho@xxxxxxxxxx>
> ---
> drivers/rtc/rtc-isl1208.c | 37 ++++---------------------------------
> 1 file changed, 4 insertions(+), 33 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com