[PATCH] hwrng: fix geode probe error unwind
authorMichael Buesch <mb@bu3sch.de>
Sun, 30 Jul 2006 10:04:05 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:43 +0000 (13:28 -0700)
commit072d3d1acb452f4abd8d3d20af661f2e28854b59
tree601f384e86afc5e8a24bbf3c836e30e686daad00
parent58690664456b597796e58958861f365e096a1609
[PATCH] hwrng: fix geode probe error unwind

The geode hwrng leaks an iomapped resource, if hwrng_register() fails.
This fixes it.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hw_random/geode-rng.c