diff options
author | 2007-05-08 17:21:59 +0200 | |
---|---|---|
committer | 2007-05-08 17:21:59 +0200 | |
commit | ce7ee4e80a72d3b1009ca232be8981de93c015f6 (patch) | |
tree | b5160fd4a2b2276f7bd332f753b43f6d9752476b /crypto | |
parent | hwmon/smsc47m192: Document the LPC47M292 as supported (diff) | |
download | linux-ce7ee4e80a72d3b1009ca232be8981de93c015f6.tar.gz linux-ce7ee4e80a72d3b1009ca232be8981de93c015f6.tar.bz2 linux-ce7ee4e80a72d3b1009ca232be8981de93c015f6.zip |
hwmon: Request the I/O regions in platform drivers
My understanding of the resource management in the Linux 2.6 device
driver model is that the devices should declare their resources, and
then when a driver attaches to a device, it should request the
resources it will be using, so as to mark them busy. This is how the
PCI and PNP subsystems work, you can clearly see the two levels of
resources (declaration and request) in /proc/ioports for these
devices.
So I believe that our platform hardware monitoring drivers should
follow the same logic. At the moment, we only declare the resources
but we do not request them. This patch adds the I/O region request
and release calls.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Juerg Haefliger <juergh@gmail.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions