]> Git Repo - linux.git/commit
rtc-cmos probe() cleanup
authorDavid Brownell <[email protected]>
Tue, 16 Oct 2007 08:28:21 +0000 (01:28 -0700)
committerLinus Torvalds <[email protected]>
Tue, 16 Oct 2007 16:43:13 +0000 (09:43 -0700)
commit05440dfcfcabde6fcf7297dfa5a29f0355b78ffb
tree31cdb76cee66c890ab4e337e0d5c9cea31b992a7
parent0e36a9a4a788e4e92407774df76c545910810d35
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]>
drivers/rtc/rtc-cmos.c
This page took 0.068644 seconds and 4 git commands to generate.