Re: [PATCH v1 1/2] mfd: syscon: Re-use resource_size() to count max_register

From: Lee Jones
Date: Mon Dec 09 2019 - 03:45:16 EST


On Fri, 15 Nov 2019, Andy Shevchenko wrote:

> Instead of open coded variant use resource_size() and replace
> weird '- 3' to more understandable '- 4'.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/mfd/syscon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog