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

The intel hwrng leaks an iomapped resource, if hwrng_register() failes.
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/intel-rng.c