Messages in this thread | | | Date | Thu, 1 Aug 2019 22:39:02 +0200 | From | Uwe Kleine-König <> | Subject | Re: [PATCH v2 2/3] serial: sh-sci: Remove check for specific mctrl_gpio_init() return value |
| |
On Thu, Aug 01, 2019 at 06:45:24PM +0000, Schrempf Frieder wrote: > From: Frieder Schrempf <frieder.schrempf@kontron.de> > > Now that the mctrl_gpio code returns NULL instead of ERR_PTR(-ENOSYS) > in cases when CONFIG_GPIOLIB is disabled, we can safely remove this > check.
I would mention -ENOSYS in the Subject line. Something like:
serial: sh-sci: don't check for mctrl_gpio_init returning -ENOSYS
Now that the mctrl_gpio code returns NULL instead of ERR_PTR(-ENOSYS) if CONFIG_GPIOLIB is disabled, we can safely remove this check.
Thanks Uwe
-- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |
| |