diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-11-15 01:59:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-15 03:45:41 +0100 |
commit | 4c06be10c790008aa2b2d19df2872ff39990b7bd (patch) | |
tree | 859d05beb7800749c6019e4beb61ecd893916dbe /drivers/edac | |
parent | reiserfs: don't drop PG_dirty when releasing sub-page-sized dirty file (diff) | |
download | linux-4c06be10c790008aa2b2d19df2872ff39990b7bd.tar.xz linux-4c06be10c790008aa2b2d19df2872ff39990b7bd.zip |
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