diff options
| author | Jean Delvare <khali@linux-fr.org> | 2005-07-31 15:49:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:14:21 -0400 |
| commit | f4b50261207c987913f076d867c2e154d71fd012 (patch) | |
| tree | 0b50cfa93f2e1e6a877f51028f93539db0e4547e /Documentation/i2c/porting-clients | |
| parent | 96478ef3f3f71fa929cc905cc794993e312d9a5d (diff) | |
[PATCH] hwmon: hwmon vs i2c, second round (06/11)
The only thing left in i2c-sensor.h are module parameter definition
macros. It's only an extension of what i2c.h offers, and this extension
is not sensors-specific. As a matter of fact, a few non-sensors drivers
use them. So we better merge them in i2c.h, and get rid of i2c-sensor.h
altogether.
Signed-off-by: Jean Delvare <khali@linux-fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/i2c/porting-clients')
| -rw-r--r-- | Documentation/i2c/porting-clients | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/i2c/porting-clients b/Documentation/i2c/porting-clients index f9099211bd0b..8b819379adcb 100644 --- a/Documentation/i2c/porting-clients +++ b/Documentation/i2c/porting-clients | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | Revision 4, 2004-03-30 | 1 | Revision 5, 2005-07-29 |
| 2 | Jean Delvare <khali@linux-fr.org> | 2 | Jean Delvare <khali@linux-fr.org> |
| 3 | Greg KH <greg@kroah.com> | 3 | Greg KH <greg@kroah.com> |
| 4 | 4 | ||
| @@ -17,13 +17,12 @@ yours for best results. | |||
| 17 | 17 | ||
| 18 | Technical changes: | 18 | Technical changes: |
| 19 | 19 | ||
| 20 | * [Includes] Get rid of "version.h". Replace <linux/i2c-proc.h> with | 20 | * [Includes] Get rid of "version.h" and <linux/i2c-proc.h>. |
| 21 | <linux/i2c-sensor.h>. Includes typically look like that: | 21 | Includes typically look like that: |
| 22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
| 23 | #include <linux/init.h> | 23 | #include <linux/init.h> |
| 24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
| 25 | #include <linux/i2c.h> | 25 | #include <linux/i2c.h> |
| 26 | #include <linux/i2c-sensor.h> | ||
| 27 | #include <linux/i2c-vid.h> /* if you need VRM support */ | 26 | #include <linux/i2c-vid.h> /* if you need VRM support */ |
| 28 | #include <asm/io.h> /* if you have I/O operations */ | 27 | #include <asm/io.h> /* if you have I/O operations */ |
| 29 | Please respect this inclusion order. Some extra headers may be | 28 | Please respect this inclusion order. Some extra headers may be |
| @@ -31,6 +30,7 @@ Technical changes: | |||
| 31 | 30 | ||
| 32 | * [Addresses] SENSORS_I2C_END becomes I2C_CLIENT_END, ISA addresses | 31 | * [Addresses] SENSORS_I2C_END becomes I2C_CLIENT_END, ISA addresses |
| 33 | are no more handled by the i2c core. | 32 | are no more handled by the i2c core. |
| 33 | SENSORS_INSMOD_<n> becomes I2C_CLIENT_INSMOD_<n>. | ||
| 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 |
