]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Avoid putting cpu node twice
authorJohn Rigby <jcrigby@gmail.com>
Fri, 6 Apr 2007 22:57:37 +0000 (08:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Apr 2007 01:05:48 +0000 (11:05 +1000)
commit6ec367091a418dd6119e381758940a38b180089c
tree08a6d5f0b5629076bd02b8fb60fd909c8ade091d
parent057b184a007376562e905aa39f1ba352fb8d78b1
[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: John Rigby <jrigby@freescale.com>
Acked-by: Sylvain Munaut <tnt@246tNt.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/52xx/lite5200.c