diff options
| author | Bartosz Golaszewski <[email protected]> | 2019-12-24 12:07:02 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2020-01-07 11:03:28 +0000 |
| commit | 2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a (patch) | |
| tree | 6bcb9982a99ba349929e484ef5fb83b4d135a119 /drivers/gpio/gpio-altera.c | |
| parent | gpiolib: use gpiochip_get_desc() in lineevent_create() (diff) | |
| download | kernel-2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a.tar.gz kernel-2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a.zip | |
gpiolib: use gpiochip_get_desc() in gpio_ioctl()
Unduplicate the offset check by simply calling gpiochip_get_desc() and
checking its return value.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-altera.c')
0 files changed, 0 insertions, 0 deletions
