Bjorn Helgaas 4c06be10c7 rtc: release correct region in error path
The misc_register() error path always released an I/O port region,
even if the region was memory-mapped (only mips uses memory-mapped RTC,
as far as I can see).

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-14 18:45:41 -08:00
..
2007-10-17 08:42:52 -07:00
2007-11-14 18:45:39 -08:00
2007-08-22 19:52:46 -07:00
2007-11-02 08:47:06 +01:00
2007-11-14 18:45:39 -08:00
2007-07-21 18:37:12 -07:00
2007-10-29 17:27:50 -04:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 01:34:40 +02:00
2007-11-05 15:12:31 -08:00
2007-11-05 21:54:41 +00:00
2007-11-14 18:45:38 -08:00
2007-11-14 18:45:39 -08:00
2007-11-05 15:12:31 -08:00
2007-10-20 01:34:40 +02:00
2007-11-10 11:59:49 +01:00
2007-10-23 09:49:31 +02:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-11-14 18:45:36 -08:00
2007-10-20 15:04:06 -07:00
2007-11-14 18:45:39 -08:00
2007-11-14 18:45:39 -08:00
2007-10-17 08:42:57 -07:00
2007-07-18 15:57:16 -07:00
2007-11-02 08:47:06 +01:00
2007-11-14 18:45:36 -08:00
2007-10-23 15:49:54 +10:00