diff options
author | Uwe Kleine-König <[email protected]> | 2013-10-01 11:00:53 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2013-10-02 11:42:48 +0200 |
commit | 326e31eebe61dc838e031ea16968b2cfb43443e3 (patch) | |
tree | a4e11e9c3f9b2e2b8463750d1a767a1f0ba94971 /tools/perf/util/trace-event-scripting.c | |
parent | fa94bd57b5a5b2206e5fdd0ed2dbacff199121f2 (diff) |
clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally
Instead of letting each driver call of_node_put do it centrally in the
loop that also calls the CLOCKSOURCE_OF_DECLARE callbacks. This is less
prone to error and also moves getting and putting the references into the
same function.
Consequently all respective of_node_put calls in drivers are removed.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: David Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions