[PATCH] gpio: zynq: Clarify quirk and provide helper function

Linus Walleij linus.walleij at linaro.org
Fri Jun 9 06:46:16 PDT 2017


On Thu, Jun 8, 2017 at 7:32 PM, Soren Brinkmann
<soren.brinkmann at xilinx.com> wrote:

> The one quirk used in the zynq GPIO driver was called FOO which is not
> very descriptive. Rename the quirk to IS_ZYNQ as it indicates whether
> the HW is a zynq or zynqmp device to allow handling of device-specific
> differences of the HW.
> Also provide a helper function to test whether the HW is zynq or zynqmp.
>
> Signed-off-by: Soren Brinkmann <soren.brinkmann at xilinx.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list