Re: [PATCH v2 4/5] mfd: rk808: Reduce shutdown duplication

From: Lee Jones
Date: Wed Feb 26 2020 - 05:32:28 EST


On Sun, 12 Jan 2020, Robin Murphy wrote:

> Rather than having 3 almost-identical functions plus the machinery to
> keep track of them, it's far simpler to just dynamically select the
> appropriate register field per variant.
>
> Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>
> ---
> drivers/mfd/rk808.c | 61 +++++++++++++--------------------------
> include/linux/mfd/rk808.h | 1 -
> 2 files changed, 20 insertions(+), 42 deletions(-)

Applied, thanks.

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