commit | 079933dbcb02132cc48ba052882fe0a9e3b0b762 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Wed Oct 05 04:13:10 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Mon Oct 24 18:36:28 2016 -0200 |
tree | 6064c74276450d1b18d198fad0eb4dfa86f737cd | |
parent | c762ff1f7e3b09293c22ce62135ef550c1b3327c [diff] |
[media] v4l: flash led class: Fix of_node release in probe() error path The sub-device's OF node was used (of_node_get()) if it was set, but device's OF node was always put. Fix this. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>