diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-09-30 10:19:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 19:46:43 +0200 |
commit | 7d8c70d8048c7b4307dff95d9300d6b1ea7a3547 (patch) | |
tree | 3d11a27daa540e42e6a3788ce657b37f67ee6d87 /drivers/tty/serial/clps711x.c | |
parent | serial: mxs-auart+imx: allow compile testing on non-Freescale architectures (diff) | |
download | linux-7d8c70d8048c7b4307dff95d9300d6b1ea7a3547.tar.xz linux-7d8c70d8048c7b4307dff95d9300d6b1ea7a3547.zip |
serial: mctrl-gpio: rename init function
This is done before adding more functionality to the init function with
the existing name. As this new functionality conflicts with stuff
drivers are required to implement themselves up to I want to convert
them one by one to make reviewing and reverting more easy in case I
broke something.
Once mctrl_gpio_init is there and all drivers are converted
mctrl_gpio_init_noauto can be removed again.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/clps711x.c')
-rw-r--r-- | drivers/tty/serial/clps711x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index d5d2dd7c7917..b3a4e0cdddaa 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -500,7 +500,7 @@ static int uart_clps711x_probe(struct platform_device *pdev) platform_set_drvdata(pdev, s); - s->gpios = mctrl_gpio_init(&pdev->dev, 0); + s->gpios = mctrl_gpio_init_noauto(&pdev->dev, 0); if (IS_ERR(s->gpios)) return PTR_ERR(s->gpios); |