diff options
| author | David Brownell <[email protected]> | 2007-10-16 01:28:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-16 09:43:13 -0700 |
| commit | 05440dfcfcabde6fcf7297dfa5a29f0355b78ffb (patch) | |
| tree | 31cdb76cee66c890ab4e337e0d5c9cea31b992a7 /include/linux | |
| 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..
[[email protected]: coding-style fixes]
Signed-off-by: David Brownell <[email protected]>
Cc: Russell King <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions