diff options
author | Michal Simek <michal.simek@xilinx.com> | 2017-08-07 13:01:59 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-14 15:59:37 +0200 |
commit | eb73d6eaa630d086b5c78c840bd0dcaf35a618db (patch) | |
tree | 18738bc2eab4db624782b22d02c540d2c4f65c70 /drivers/gpio/gpio-zynq.c | |
parent | 6ae5104cbaa5326a00287abd141af6a2307a6f70 (diff) | |
download | linux-eb73d6eaa630d086b5c78c840bd0dcaf35a618db.tar.bz2 |
gpio: zynq: Fix empty lines in driver
Remove one additional line and add two new. All are reported by checkpatch.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-zynq.c')
-rw-r--r-- | drivers/gpio/gpio-zynq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-zynq.c b/drivers/gpio/gpio-zynq.c index 1ac640eccb9f..0129f82886eb 100644 --- a/drivers/gpio/gpio-zynq.c +++ b/drivers/gpio/gpio-zynq.c @@ -60,7 +60,6 @@ #define ZYNQ_GPIO_BANK5_PIN_MAX(str) (ZYNQ_GPIO_BANK5_PIN_MIN(str) + \ ZYNQ##str##_GPIO_BANK5_NGPIO - 1) - /* Register offsets for the GPIO device */ /* LSW Mask & Data -WO */ #define ZYNQ_GPIO_DATA_LSW_OFFSET(BANK) (0x000 + (8 * BANK)) @@ -112,6 +111,7 @@ struct gpio_regs { u32 int_polarity[ZYNQMP_GPIO_MAX_BANK]; u32 int_any[ZYNQMP_GPIO_MAX_BANK]; }; + /** * struct zynq_gpio - gpio device private data structure * @chip: instance of the gpio_chip @@ -661,6 +661,7 @@ static void zynq_gpio_restore_context(struct zynq_gpio *gpio) ZYNQ_GPIO_INTANY_OFFSET(bank_num)); } } + static int __maybe_unused zynq_gpio_suspend(struct device *dev) { struct platform_device *pdev = to_platform_device(dev); |