diff options
| author | Marek Vasut <[email protected]> | 2024-07-20 14:40:38 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-22 10:53:05 -0600 |
| commit | 632ba2bd5c8640e3520cd29b7c91c33c934ddd35 (patch) | |
| tree | a6cbb8240a32696a1675445839bfa30c6a5f2976 /drivers | |
| parent | ae7d5b2fb327840680b9d08835d7d652e9123d71 (diff) | |
drivers: gpio: Remove duplicate newlines
Drop all duplicate newlines. No functional change.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpio/altera_pio.c | 1 | ||||
| -rw-r--r-- | drivers/gpio/pca953x_gpio.c | 1 | ||||
| -rw-r--r-- | drivers/gpio/sunxi_gpio.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/altera_pio.c b/drivers/gpio/altera_pio.c index 7ba1595e4ae..469c50a6016 100644 --- a/drivers/gpio/altera_pio.c +++ b/drivers/gpio/altera_pio.c @@ -59,7 +59,6 @@ static int altera_pio_get_value(struct udevice *dev, unsigned pin) return !!(readl(®s->data) & (1 << pin)); } - static int altera_pio_set_value(struct udevice *dev, unsigned pin, int val) { struct altera_pio_plat *plat = dev_get_plat(dev); diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index 80ebaadb3e4..e84038f312e 100644 --- a/drivers/gpio/pca953x_gpio.c +++ b/drivers/gpio/pca953x_gpio.c @@ -39,7 +39,6 @@ #define PCA957X_INVERT 1 #define PCA957X_DIRECTION 4 - #define PCA_GPIO_MASK 0x00FF #define PCA_INT 0x0100 #define PCA_PCAL BIT(9) diff --git a/drivers/gpio/sunxi_gpio.c b/drivers/gpio/sunxi_gpio.c index 5e86474d3db..218ca2af397 100644 --- a/drivers/gpio/sunxi_gpio.c +++ b/drivers/gpio/sunxi_gpio.c @@ -157,7 +157,6 @@ void sunxi_gpio_set_pull_bank(void *bank_base, int pin_offset, u32 val) 0x3U << offset, val << offset); } - /* =========== Non-DM code, used by the SPL. ============ */ #if !CONFIG_IS_ENABLED(DM_GPIO) |
