Skip to content
Commit ee203bbd authored by Michał Mirosław's avatar Michał Mirosław Committed by Bartosz Golaszewski
Browse files

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: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 55f17e2a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment