crypto: talitos - Remove calls to of_node_put
authorLee Nipper <lee.nipper@freescale.com>
Thu, 17 Jul 2008 07:58:08 +0000 (15:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Jul 2008 07:58:08 +0000 (15:58 +0800)
commit4aaf087846f9a1f1ec272393f5cd78f713e24f37
treeffe02b01565ff7785bb7dd43f5651cfc10eb672d
parent33af79d12e0fa25545d49e86afc67ea8ad5f2f40
crypto: talitos - Remove calls to of_node_put

Remove of_node_put calls since there is no corresponding of_node_get.
This patch prevents an exception when talitos is loaded a 2nd time.
This sequence: modprobe talitos; rmmod talitos; modprobe talitos
causes this message: "WARNING: Bad of_node_put() on /soc8349@e0000000/crypto@30000".

Signed-off-by: Lee Nipper <lee.nipper@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c