commit | 22cb0a76e0059701bce395bd8832ea94342cbf4a | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Wed Dec 04 09:56:42 2019 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Wed Jan 22 21:07:10 2020 +0100 |
tree | 6a2b3855b663763c7fc5ffdaa389276b213fbeaa | |
parent | 90a8e82d3ca8c1f85ac63f4a94c9b034f05af4ee [diff] |
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>