commit | 3638bd4a066c14256bad0b99a60821709d3807b4 | [log] [tgz] |
---|---|---|
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | Thu Jun 08 10:32:07 2017 -0700 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri Jun 16 11:13:12 2017 +0200 |
tree | c11c1f904f8fc2d614b30e4dcd31824540dda299 | |
parent | 5117f2b05588749b7c7a6ecd3c986bf9e8b581c0 [diff] |
gpio: zynq: Clarify quirk and provide helper function 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@xilinx.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>