diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-12-04 09:56:42 +0200 |
---|---|---|
committer | Pavel <pavel@ucw.cz> | 2019-12-21 20:09:47 +0100 |
commit | 9f4b952d0bfb7efffb7e85797efa5322e7e69dc5 (patch) | |
tree | 6a2b3855b663763c7fc5ffdaa389276b213fbeaa /drivers/leds/leds-pca963x.c | |
parent | 8e8d699b051f9ef86e31fb24569ccf3d869b54c4 (diff) | |
download | linux-9f4b952d0bfb7efffb7e85797efa5322e7e69dc5.tar.bz2 |
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-pca963x.c')
0 files changed, 0 insertions, 0 deletions