commit | c7a372ddc3db9ab90a408917c040f6cc223a115f | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Tue Jan 16 08:29:50 2018 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Jun 16 09:45:14 2018 +0200 |
tree | f36b5007396927d2ff63907e9f6d731fd558f530 | |
parent | 7d970250cb8dfb71768ed58dd80f06cd74a49c28 [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>