Thread (8 messages) 8 messages, 2 authors, 2019-08-02

Re: [PATCH v2 2/3] serial: sh-sci: Remove check for specific mctrl_gpio_init() return value

From: Schrempf Frieder <hidden>
Date: 2019-08-02 07:59:49
Also in: linux-serial, lkml

On 01.08.19 22:39, Uwe Kleine-König wrote:
On Thu, Aug 01, 2019 at 06:45:24PM +0000, Schrempf Frieder wrote:
quoted
From: Frieder Schrempf <redacted>

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.
Indeed, I failed to come up with a better subject line. I will adopt 
your proposal.
Thanks
Uwe
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help