Re: [PATCH 2/3] mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells

From: Lee Jones
Date: Mon Apr 16 2018 - 05:36:41 EST


On Thu, 29 Mar 2018, Chen-Yu Tsai wrote:

> Previously we were open coding the interrupts for the various mfd
> cells. This made the code somewhat long due to pretty-formatting.
>
> This patch convert those into one-line declarations with DEFINE_RES_IRQ,
> making the code shorter and easier to read.
>
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
> ---
> drivers/mfd/axp20x.c | 187 +++++++++------------------------------------------
> 1 file changed, 30 insertions(+), 157 deletions(-)

Applied, thanks.

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