Re: [PATCH] serial: imx: Avoid probe failure in case of missing gpiolib

From: Uwe Kleine-König
Date: Thu Aug 01 2019 - 07:50:55 EST


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

Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | |