aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc/rtc-sysfs.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-10-16 01:28:21 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 09:43:13 -0700
commit05440dfcfcabde6fcf7297dfa5a29f0355b78ffb (patch)
tree31cdb76cee66c890ab4e337e0d5c9cea31b992a7 /drivers/rtc/rtc-sysfs.c
parentrtc: fix readback from /sys/class/rtc/rtc?/wakealarm (diff)
downloadwireguard-linux-05440dfcfcabde6fcf7297dfa5a29f0355b78ffb.tar.xz
wireguard-linux-05440dfcfcabde6fcf7297dfa5a29f0355b78ffb.zip
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 'drivers/rtc/rtc-sysfs.c')
0 files changed, 0 insertions, 0 deletions