[lkml]   [2017]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 4/4] tty/serial: sh-sci: remove uneeded IS_ERR_OR_NULL calls
Hello Geert,

On Mon, Mar 20, 2017 at 10:56:14AM +0100, Geert Uytterhoeven wrote:
> Documentation/gpio/consumer.txt rightfully sates:
> | Note that gpio_get*_optional() functions (and their managed variants), unlike
> | the rest of gpiolib API, also return NULL when gpiolib support is disabled.
> | This is helpful to driver authors, since they do not need to special case
> | -ENOSYS return codes. System integrators should however be careful to enable
> | gpiolib on systems that need it.

I cannot find this paragraph in Documentation/gpio/consumer.txt:

$ git grep -e 'ENOSYS' v4.11-rc3 -- Documentation/gpio/

Best regards

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

 \ /
  Last update: 2017-03-20 11:33    [W:0.076 / U:1.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site