diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-01-16 08:29:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-16 09:54:26 +0200 |
commit | c4f78b5732bc1392dea7ce401c7fedb91f14e1b9 (patch) | |
tree | 78997d570523a428638e99b2ec95ab1e581476f3 /drivers/gpio/gpio-ep93xx.c | |
parent | 81613ccd7935cc8f9068c6d9bfdd4f75ca43f8f6 (diff) |
gpio: No NULL owner
commit 7d18f0a14aa6a0d6bad39111c1fb655f07f71d59 upstream.
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>
Cc: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/gpio-ep93xx.c')
0 files changed, 0 insertions, 0 deletions