diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-11-25 09:22:19 +0100 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-01-04 09:57:38 +0100 |
commit | 0c24199ca9dd0ec1eaddc49ec83ca97bc1f1c233 (patch) | |
tree | 0ff0739bc9d4758459b4e71b86d820a2ad6be94f /drivers/leds/leds-pca955x.c | |
parent | f5db6b8301bf11d8f5422ba8e6cff43add8bd861 (diff) | |
download | blackbird-op-linux-0c24199ca9dd0ec1eaddc49ec83ca97bc1f1c233.tar.gz blackbird-op-linux-0c24199ca9dd0ec1eaddc49ec83ca97bc1f1c233.zip |
leds: aat1290: Add missing of_node_put
The refcount of device_node increases after of_get_next_available_child()
is called. Make sure it is decremented also in case of DT parsing error.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'drivers/leds/leds-pca955x.c')
0 files changed, 0 insertions, 0 deletions