aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-da9052.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-12-04 09:56:42 +0200
committerPavel <pavel@ucw.cz>2019-12-21 20:09:47 +0100
commit9f4b952d0bfb7efffb7e85797efa5322e7e69dc5 (patch)
tree6a2b3855b663763c7fc5ffdaa389276b213fbeaa /drivers/leds/leds-da9052.c
parentleds: gpio: Fix uninitialized gpio label for fwnode based probe (diff)
downloadlinux-dev-9f4b952d0bfb7efffb7e85797efa5322e7e69dc5.tar.xz
linux-dev-9f4b952d0bfb7efffb7e85797efa5322e7e69dc5.zip
leds-as3645a: Drop fwnode reference on ignored node
If a node is ignored, do not get a reference to it. Fix the bug by moving fwnode_handle_get() where a reference to an fwnode is saved for clarity. Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-da9052.c')
0 files changed, 0 insertions, 0 deletions