gpio: xilinx: add missing blank line after declarations
Add a missing blank line. No functional changes. WARNING: Missing a blank line after declarations 128: FILE: drivers/gpio/gpio-xilinx.c:120: + void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); + xgpio_set_value32(a, bit, xgpio_readreg(addr)); WARNING: Missing a blank line after declarations 136: FILE: drivers/gpio/gpio-xilinx.c:126: + void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); + xgpio_writereg(addr, xgpio_get_value32(a, bit)); Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Reviewed-by: Michal Simek <michal.simek@amd.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
This commit is contained in:
parent
a0a2d10aad
commit
f2a2f2c9ae
|
@ -117,12 +117,14 @@ static inline int xgpio_regoffset(struct xgpio_instance *chip, int ch)
|
|||
static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a)
|
||||
{
|
||||
void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32);
|
||||
|
||||
xgpio_set_value32(a, bit, xgpio_readreg(addr));
|
||||
}
|
||||
|
||||
static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a)
|
||||
{
|
||||
void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32);
|
||||
|
||||
xgpio_writereg(addr, xgpio_get_value32(a, bit));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue