[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190801115046.lf66umgfj2xk6eqv@pengutronix.de>
Date: Thu, 1 Aug 2019 13:50:46 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Schrempf Frieder <frieder.schrempf@...tron.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
Jiri Slaby <jslaby@...e.com>
Subject: Re: [PATCH] serial: imx: Avoid probe failure in case of missing
gpiolib
Hello,
On Thu, Aug 01, 2019 at 10:59:54AM +0000, Schrempf Frieder wrote:
> So I would rather go with a variation of your second proposal and keep
> the dummy implementation, but let it return NULL instead of an error
> pointer, as all the mctrl_gpio_*() functions already seem to have a
> check for gpios == NULL.
>
> What do you think?
I'll gladly review a patch.
Best regads
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Powered by blists - more mailing lists