OSDN Git Service

gpio: No NULL owner
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Jan 2018 07:42:12 +0000 (08:42 +0100)
committerGerrit - the friendly Code Review server <code-review@localhost>
Thu, 3 May 2018 04:42:17 +0000 (21:42 -0700)
commite29ce8dc74ef3d599beb8a8cee18848aecd8d06d
treecf8e5a0c63d6ab32cc635852eef4573b0ce20b95
parentcb0e8e7c96590b4df7485c2c815fc131b7838325
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.

Change-Id: Iacf2ef35d50118cd755e26ed4211c3c4b1289ff2
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Git-commit: 7d18f0a14aa6a0d6bad39111c1fb655f07f71d59
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
drivers/gpio/gpiolib.c