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 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-rockchip