Re: [PATCH] rtc: isl1208: Fix return value of nvmem callbacks
From: Alexandre Belloni
Date: Thu Jun 27 2024 - 18:22:42 EST
On Wed, 12 Jun 2024 08:08:31 +0000, Joy Chakraborty wrote:
> Read/write callbacks registered with nvmem core expect 0 to be returned
> on success and a negative value to be returned on failure.
>
> isl1208_nvmem_read()/isl1208_nvmem_write() currently return the number of
> bytes read/written on success, fix to return 0 on success and negative on
> failure.
>
> [...]
Applied, thanks!
[1/1] rtc: isl1208: Fix return value of nvmem callbacks
https://git.kernel.org/abelloni/c/70f1ae5f0e7f
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com