linux/drivers/hwmon
Jean Delvare ce7ee4e80a 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>
2007-05-08 17:21:59 +02:00
..
ams Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
Kconfig hwmon/smsc47m192: Document the LPC47M292 as supported 2007-05-08 17:21:59 +02:00
Makefile hwmon: New driver for the Analog Devices ADM1029 2007-02-14 21:15:04 +01:00
abituguru.c hwmon/abituguru: Fix unchecked return status 2007-02-14 21:15:05 +01:00
adm1021.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm1025.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm1026.c hwmon: Drop unused mutexes in two drivers 2007-02-14 21:15:03 +01:00
adm1029.c hwmon: New driver for the Analog Devices ADM1029 2007-02-14 21:15:04 +01:00
adm1031.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm9240.c adm9240: Update Grant Coady's email address 2006-10-18 13:03:08 -07:00
asb100.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
atxp1.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
ds1621.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
f71805f.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
fscher.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
fscpos.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl518sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl520sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
hdaps.c hwmon/hdaps: Update the list of supported devices 2006-12-12 18:18:28 +01:00
hwmon-vid.c hwmon: Fix the VRD 11 decoding 2007-01-18 22:14:23 +01:00
hwmon.c hwmon: Use subsys_initcall 2007-02-14 21:15:04 +01:00
it87.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
k8temp.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
lm63.c hwmon: Fix unchecked return status, batch 4 2006-09-28 15:31:18 -07:00
lm70.c hwmon/lm70: Make lm70_remove a __devexit function 2007-02-14 21:15:04 +01:00
lm75.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
lm75.h [PATCH] hwmon: move SENSORS_LIMIT to hwmon.h 2005-09-05 09:14:17 -07:00
lm77.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm78.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
lm80.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm83.c hwmon: Fix unchecked return status, batch 4 2006-09-28 15:31:18 -07:00
lm85.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
lm87.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm90.c hwmon: Fix unchecked return status, batch 4 2006-09-28 15:31:18 -07:00
lm92.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
max1619.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
pc87360.c hwmon/pc87360: Autodetect the VRM version 2006-12-12 18:18:28 +01:00
pc87427.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
sis5595.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
smsc47b397.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
smsc47m1.c smsc47m1: List the SMSC LPC47M112 as supported 2006-10-18 13:03:08 -07:00
smsc47m192.c hwmon/smsc47m192: Document the LPC47M292 as supported 2007-05-08 17:21:59 +02:00
via686a.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
vt1211.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
vt8231.c i2c/vt8231: Remove superfluous initialization 2007-02-13 22:08:58 +01:00
w83l785ts.c w83l785ts: Fix unchecked return status 2006-09-28 15:31:18 -07:00
w83627ehf.c hwmon/w83627ehf: Don't redefine REGION_OFFSET 2007-04-24 08:23:08 -07:00
w83627hf.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
w83781d.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
w83791d.c w83791d: Fix unchecked return status 2006-10-18 13:03:08 -07:00
w83792d.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
w83793.c hwmon/w83793: Hide invalid VID readings 2007-01-18 22:14:24 +01:00