]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: No NULL owner
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Jan 2018 07:29:50 +0000 (08:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Jan 2018 06:44:14 +0000 (07:44 +0100)
commit7d18f0a14aa6a0d6bad39111c1fb655f07f71d59
tree7d4fc71545930bed638ee6d1d84b9d9c662087be
parentb888fb6f2a278442933e3bfab70262e9a5365fb3
gpio: No NULL owner

Sometimes a GPIO is fetched with NULL as parent device, and
that is just fine. So under these circumstances, avoid using
dev_name() to provide a name for the GPIO line.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c