diff options
author | Geert Uytterhoeven <[email protected]> | 2015-01-14 14:51:59 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2015-04-09 10:30:34 +0100 |
commit | c6f77bc2b3f9512fd8d637a45060408061a035a9 (patch) | |
tree | f5fc3d8a620a30df3fb8ac42c4489c5e22c4da02 /lib/cpu-notifier-error-inject.c | |
parent | 9eccca0843205f87c00404b663188b88eb248051 (diff) |
backlight: 88pm860x_bl: Use of_get_child_by_name() instead of refcount hack
of_find_node_by_name() calls of_node_put() on its "from" parameter.
To counter this, pm860x_backlight_dt_init() calls of_node_get() first.
Use of_get_child_by_name() instead to get rid of the refcount hack.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions