diff options
| author | 2019-12-24 13:07:02 +0100 | |
|---|---|---|
| committer | 2020-01-07 12:03:28 +0100 | |
| commit | 2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a (patch) | |
| tree | 6bcb9982a99ba349929e484ef5fb83b4d135a119 /lib/mpi/generic_mpih-rshift.c | |
| parent | gpiolib: use gpiochip_get_desc() in lineevent_create() (diff) | |
| download | linux-dev-2a2cabd8bc1715ceceb9d9566055f4a0a8ff749a.tar.xz linux-dev-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 <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions
