[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 3/8] mfd: sm501: Use GPIO_LOOKUP_IDX() helper macro
From: |
Lee Jones |
Subject: |
Re: [PATCH v6 3/8] mfd: sm501: Use GPIO_LOOKUP_IDX() helper macro |
Date: |
Wed, 15 Apr 2020 10:25:17 +0100 |
On Tue, 24 Mar 2020, Geert Uytterhoeven wrote:
> i801_add_mux() fills in the GPIO lookup table by manually populating an
> array of gpiod_lookup structures. Use the existing GPIO_LOOKUP_IDX()
> helper macro instead, to relax a dependency on the gpiod_lookup
> structure's member names.
>
> Signed-off-by: Geert Uytterhoeven <address@hidden>
> Cc: Lee Jones <address@hidden>
> ---
> While this patch is a dependency for "[PATCH v6 4/8] gpiolib: Add
> support for GPIO lookup by line name", it can be applied independently.
> But an Acked-by would be nice, too.
>
> Cover letter and full series at
> https://lore.kernel.org/r/address@hidden/
>
> v6:
> - New.
> ---
> drivers/mfd/sm501.c | 24 ++++++++----------------
> 1 file changed, 8 insertions(+), 16 deletions(-)
Acked-by: Lee Jones <address@hidden>
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v6 3/8] mfd: sm501: Use GPIO_LOOKUP_IDX() helper macro,
Lee Jones <=