diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-07-24 19:29:28 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-07-30 00:21:07 +0300 |
commit | 2bee9e067cad4446928cbdcdaf788be463e74240 (patch) | |
tree | 9899fa61b4931b965e8d80c34abc83018c649215 /drivers/gpio | |
parent | 9dabfdd84bdfa25f0df486dd3de43e53e79a1892 (diff) | |
download | linux-2bee9e067cad4446928cbdcdaf788be463e74240.tar.xz |
gpio: mxs: Fit writel() into a single line
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-mxs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index e2831ee70cdc..df30490da820 100644 --- 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; } |