diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-16 01:28:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:43:13 -0700 |
commit | 05440dfcfcabde6fcf7297dfa5a29f0355b78ffb (patch) | |
tree | 31cdb76cee66c890ab4e337e0d5c9cea31b992a7 /net/ax25/ax25_std_timer.c | |
parent | 0e36a9a4a788e4e92407774df76c545910810d35 (diff) |
rtc-cmos probe() cleanup
Some cleanups for the rtc-cmos probe logic:
- Claim i/o ports with request_region() not request_resource(),
for better coexistence betwen platform and pnp bus glues.
- Claim those ports earlier, to help work around procfs bugs
(it allows duplicate names, like /proc/driver/rtc).
- Fix some glitches in cleanup code, notably a cut'n'paste-o
where the i/o port region might not get released during
cleanup after a probe fault.
And some comment clarifications, including noting that this code
must work with PNPBIOS not just PNPACPI..
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/ax25/ax25_std_timer.c')
0 files changed, 0 insertions, 0 deletions