aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/i2c/porting-clients
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-07-19 18:02:32 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 12:14:12 -0400
commit5071860aba7fc69279ab822638ed2c2e4549f9fd (patch)
treee23a3c7eba547c9d81c7680a40c41536c8a45da3 /Documentation/i2c/porting-clients
parent4926c0d4de77c5396a274ee7941ed7fc02afed26 (diff)
[PATCH] I2C: Separate non-i2c hwmon drivers from i2c-core (7/9)
Kill normal_isa in header files, documentation and all chip drivers, as it is no more used. normal_i2c could be renamed to normal, but I decided not to do so at the moment, so as to limit the number of changes. This might be done later as part of the i2c_probe/i2c_detect merge. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/i2c/porting-clients')
-rw-r--r--Documentation/i2c/porting-clients7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/i2c/porting-clients b/Documentation/i2c/porting-clients
index a7adbdd9ea8a..105c6186b912 100644
--- a/Documentation/i2c/porting-clients
+++ b/Documentation/i2c/porting-clients
@@ -29,8 +29,8 @@ Technical changes:
29 Please respect this inclusion order. Some extra headers may be 29 Please respect this inclusion order. Some extra headers may be
30 required for a given driver (e.g. "lm75.h"). 30 required for a given driver (e.g. "lm75.h").
31 31
32* [Addresses] SENSORS_I2C_END becomes I2C_CLIENT_END, SENSORS_ISA_END 32* [Addresses] SENSORS_I2C_END becomes I2C_CLIENT_END, ISA addresses
33 becomes I2C_CLIENT_ISA_END. 33 are no more handled by the i2c core.
34 34
35* [Client data] Get rid of sysctl_id. Try using standard names for 35* [Client data] Get rid of sysctl_id. Try using standard names for
36 register values (for example, temp_os becomes temp_max). You're 36 register values (for example, temp_os becomes temp_max). You're
@@ -72,7 +72,8 @@ Technical changes:
72 name string, which will be filled with a lowercase, short string 72 name string, which will be filled with a lowercase, short string
73 (typically the driver name, e.g. "lm75"). 73 (typically the driver name, e.g. "lm75").
74 In i2c-only drivers, drop the i2c_is_isa_adapter check, it's 74 In i2c-only drivers, drop the i2c_is_isa_adapter check, it's
75 useless. 75 useless. Same for isa-only drivers, as the test would always be
76 true. Only hybrid drivers (which are quite rare) still need it.
76 The errorN labels are reduced to the number needed. If that number 77 The errorN labels are reduced to the number needed. If that number
77 is 2 (i2c-only drivers), it is advised that the labels are named 78 is 2 (i2c-only drivers), it is advised that the labels are named
78 exit and exit_free. For i2c+isa drivers, labels should be named 79 exit and exit_free. For i2c+isa drivers, labels should be named