projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dabfdd
)
gpio: mxs: Fit writel() into a single line
author
Fabio Estevam
<fabio.estevam@nxp.com>
Tue, 24 Jul 2018 16:29:28 +0000
(13:29 -0300)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sun, 29 Jul 2018 21:21:07 +0000
(23:21 +0200)
There is no need for splitting the writel() call in two lines.
Make it fit into a single line instead.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxs.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-mxs.c
b/drivers/gpio/gpio-mxs.c
index
e2831ee
..
df30490
100644
(file)
--- a/
drivers/gpio/gpio-mxs.c
+++ b/
drivers/gpio/gpio-mxs.c
@@
-126,8
+126,7
@@
static int mxs_gpio_set_irq_type(struct irq_data *d, unsigned int type)
else
writel(pin_mask, pin_addr + MXS_CLR);
- writel(pin_mask,
- port->base + PINCTRL_IRQSTAT(port) + MXS_CLR);
+ writel(pin_mask, port->base + PINCTRL_IRQSTAT(port) + MXS_CLR);
return 0;
}