lkml.org 
[lkml]   [2019]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 2/3] serial: sh-sci: Remove check for specific mctrl_gpio_init() return value
Date
On 01.08.19 22:39, Uwe Kleine-König wrote:
> 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.

Indeed, I failed to come up with a better subject line. I will adopt
your proposal.

> Thanks
> Uwe
>
\
 
 \ /
  Last update: 2019-08-02 10:01    [W:0.040 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site