diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-03-15 19:34:34 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-03-25 11:50:46 +0300 |
commit | ee203bbd63c0ae75c7672f30ae09f74abfcf6f5c (patch) | |
tree | eee819127e918b8a57e6b5677037e5a005bd08a0 /tools/gpio/gpio-hammer.c | |
parent | 55f17e2ae916e4443e5f0acf067a3b6e9180f1cd (diff) | |
download | linux-ee203bbd63c0ae75c7672f30ae09f74abfcf6f5c.tar.xz |
gpiolib: gpio_name_to_desc: factor out !name check
Since name == NULL can't ever match, move the check out of
IRQ-disabled region.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/gpio/gpio-hammer.c')
0 files changed, 0 insertions, 0 deletions