summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-pca955x.c
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2015-11-25 09:22:19 +0100
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-01-04 09:57:38 +0100
commit0c24199ca9dd0ec1eaddc49ec83ca97bc1f1c233 (patch)
tree0ff0739bc9d4758459b4e71b86d820a2ad6be94f /drivers/leds/leds-pca955x.c
parentf5db6b8301bf11d8f5422ba8e6cff43add8bd861 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud