Skip to content
Commit 6ec36709 authored by John Rigby's avatar John Rigby Committed by Paul Mackerras
Browse files

[POWERPC] Avoid putting cpu node twice



Call of_find_node_by_type with NULL instead of np
so the cpu node does not get put twice.
This was causing kref_put warnings.

Signed-off-by: default avatarJohn Rigby <jrigby@freescale.com>
Acked-by: default avatarSylvain Munaut <tnt@246tNt.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 057b184a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment