diff options
| author | Geert Uytterhoeven <[email protected]> | 2015-01-14 13:51:58 +0000 |
|---|---|---|
| committer | Bryan Wu <[email protected]> | 2015-01-14 18:40:20 +0000 |
| commit | 452bc149947bb31775f0dc6a637fcf792af88e60 (patch) | |
| tree | 96fda4c46928d5403b34cc03b216baeab919cab9 /lib/bitmap.c | |
| parent | leds: Use setup_timer (diff) | |
| download | kernel-452bc149947bb31775f0dc6a637fcf792af88e60.tar.gz kernel-452bc149947bb31775f0dc6a637fcf792af88e60.zip | |
leds: leds-mc13783: 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, mc13xxx_led_probe_dt() 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]>
Cc: [email protected]
Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
