Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bee9e06 authored by Fabio Estevam's avatar Fabio Estevam Committed by Linus Walleij
Browse files

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9dabfdd8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
}