diff options
Diffstat (limited to 'Documentation/i2c/porting-clients')
-rw-r--r-- | Documentation/i2c/porting-clients | 7 |
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 |