diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-11-14 16:59:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-14 18:45:41 -0800 |
commit | 4c06be10c790008aa2b2d19df2872ff39990b7bd (patch) | |
tree | 859d05beb7800749c6019e4beb61ecd893916dbe /drivers/edac | |
parent | c06a018fa5362fa9ed0768bd747c0fab26bc8849 (diff) |
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>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions