diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-07-22 06:09:48 -0400 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2007-07-30 21:05:43 -0400 |
commit | d0546128980c18748010c758903b02909e634830 (patch) | |
tree | 68e78e4978a0102aa28e6c42dd09bc88427d0f92 /drivers | |
parent | 2977110192cdd90d7ffeb12a83eb5e8bdf0cb1c5 (diff) |
hwmon: Add missing __devexit tags in various drivers
On Sun, 22 Jul 2007 00:30:56 +0200, Gabriel C wrote:
> I noticed this warnings on current git:
>
> drivers/hwmon/pc87360.c:1082: warning: 'pc87360_remove' defined but not used
> drivers/hwmon/sis5595.c:580: warning: 'sis5595_remove' defined but not used
> drivers/hwmon/smsc47m1.c:608: warning: 'smsc47m1_remove' defined but not used
> drivers/hwmon/via686a.c:648: warning: 'via686a_remove' defined but not used
> drivers/hwmon/vt8231.c:755: warning: 'vt8231_remove' defined but not used
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/it87.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/pc87360.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/sis5595.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/smsc47m1.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/via686a.c | 2 | ||||
-rw-r--r-- | drivers/hwmon/vt8231.c | 4 | ||||
-rw-r--r-- | drivers/hwmon/w83627hf.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index eff6036e15c0..d75dba9b810b 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c | |||
@@ -252,7 +252,7 @@ struct it87_data { | |||
252 | 252 | ||
253 | 253 | ||
254 | static int it87_probe(struct platform_device *pdev); | 254 | static int it87_probe(struct platform_device *pdev); |
255 | static int it87_remove(struct platform_device *pdev); | 255 | static int __devexit it87_remove(struct platform_device *pdev); |
256 | 256 | ||
257 | static int it87_read_value(struct it87_data *data, u8 reg); | 257 | static int it87_read_value(struct it87_data *data, u8 reg); |
258 | static void it87_write_value(struct it87_data *data, u8 reg, u8 value); | 258 | static void it87_write_value(struct it87_data *data, u8 reg, u8 value); |
diff --git a/drivers/hwmon/pc87360.c b/drivers/hwmon/pc87360.c index cb72526c346a..f57c75d59a5b 100644 --- a/drivers/hwmon/pc87360.c +++ b/drivers/hwmon/pc87360.c | |||
@@ -220,7 +220,7 @@ struct pc87360_data { | |||
220 | */ | 220 | */ |
221 | 221 | ||
222 | static int pc87360_probe(struct platform_device *pdev); | 222 | static int pc87360_probe(struct platform_device *pdev); |
223 | static int pc87360_remove(struct platform_device *pdev); | 223 | static int __devexit pc87360_remove(struct platform_device *pdev); |
224 | 224 | ||
225 | static int pc87360_read_value(struct pc87360_data *data, u8 ldi, u8 bank, | 225 | static int pc87360_read_value(struct pc87360_data *data, u8 ldi, u8 bank, |
226 | u8 reg); | 226 | u8 reg); |
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c index 83321b28cf0e..92956eb3f3c1 100644 --- a/drivers/hwmon/sis5595.c +++ b/drivers/hwmon/sis5595.c | |||
@@ -187,7 +187,7 @@ struct sis5595_data { | |||
187 | static struct pci_dev *s_bridge; /* pointer to the (only) sis5595 */ | 187 | static struct pci_dev *s_bridge; /* pointer to the (only) sis5595 */ |
188 | 188 | ||
189 | static int sis5595_probe(struct platform_device *pdev); | 189 | static int sis5595_probe(struct platform_device *pdev); |
190 | static int sis5595_remove(struct platform_device *pdev); | 190 | static int __devexit sis5595_remove(struct platform_device *pdev); |
191 | 191 | ||
192 | static int sis5595_read_value(struct sis5595_data *data, u8 reg); | 192 | static int sis5595_read_value(struct sis5595_data *data, u8 reg); |
193 | static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value); | 193 | static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value); |
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c index 1de2f2be8708..338ee4f54614 100644 --- a/drivers/hwmon/smsc47m1.c +++ b/drivers/hwmon/smsc47m1.c | |||
@@ -134,7 +134,7 @@ struct smsc47m1_sio_data { | |||
134 | 134 | ||
135 | 135 | ||
136 | static int smsc47m1_probe(struct platform_device *pdev); | 136 | static int smsc47m1_probe(struct platform_device *pdev); |
137 | static int smsc47m1_remove(struct platform_device *pdev); | 137 | static int __devexit smsc47m1_remove(struct platform_device *pdev); |
138 | static struct smsc47m1_data *smsc47m1_update_device(struct device *dev, | 138 | static struct smsc47m1_data *smsc47m1_update_device(struct device *dev, |
139 | int init); | 139 | int init); |
140 | 140 | ||
diff --git a/drivers/hwmon/via686a.c b/drivers/hwmon/via686a.c index 24a6851491d0..696c8a2e5374 100644 --- a/drivers/hwmon/via686a.c +++ b/drivers/hwmon/via686a.c | |||
@@ -314,7 +314,7 @@ struct via686a_data { | |||
314 | static struct pci_dev *s_bridge; /* pointer to the (only) via686a */ | 314 | static struct pci_dev *s_bridge; /* pointer to the (only) via686a */ |
315 | 315 | ||
316 | static int via686a_probe(struct platform_device *pdev); | 316 | static int via686a_probe(struct platform_device *pdev); |
317 | static int via686a_remove(struct platform_device *pdev); | 317 | static int __devexit via686a_remove(struct platform_device *pdev); |
318 | 318 | ||
319 | static inline int via686a_read_value(struct via686a_data *data, u8 reg) | 319 | static inline int via686a_read_value(struct via686a_data *data, u8 reg) |
320 | { | 320 | { |
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c index c604972f0186..3e63eaf19041 100644 --- a/drivers/hwmon/vt8231.c +++ b/drivers/hwmon/vt8231.c | |||
@@ -167,7 +167,7 @@ struct vt8231_data { | |||
167 | 167 | ||
168 | static struct pci_dev *s_bridge; | 168 | static struct pci_dev *s_bridge; |
169 | static int vt8231_probe(struct platform_device *pdev); | 169 | static int vt8231_probe(struct platform_device *pdev); |
170 | static int vt8231_remove(struct platform_device *pdev); | 170 | static int __devexit vt8231_remove(struct platform_device *pdev); |
171 | static struct vt8231_data *vt8231_update_device(struct device *dev); | 171 | static struct vt8231_data *vt8231_update_device(struct device *dev); |
172 | static void vt8231_init_device(struct vt8231_data *data); | 172 | static void vt8231_init_device(struct vt8231_data *data); |
173 | 173 | ||
@@ -751,7 +751,7 @@ exit_release: | |||
751 | return err; | 751 | return err; |
752 | } | 752 | } |
753 | 753 | ||
754 | static int vt8231_remove(struct platform_device *pdev) | 754 | static int __devexit vt8231_remove(struct platform_device *pdev) |
755 | { | 755 | { |
756 | struct vt8231_data *data = platform_get_drvdata(pdev); | 756 | struct vt8231_data *data = platform_get_drvdata(pdev); |
757 | int i; | 757 | int i; |
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c index 1ce78179b005..7a4a15f4bf8b 100644 --- a/drivers/hwmon/w83627hf.c +++ b/drivers/hwmon/w83627hf.c | |||
@@ -387,7 +387,7 @@ struct w83627hf_sio_data { | |||
387 | 387 | ||
388 | 388 | ||
389 | static int w83627hf_probe(struct platform_device *pdev); | 389 | static int w83627hf_probe(struct platform_device *pdev); |
390 | static int w83627hf_remove(struct platform_device *pdev); | 390 | static int __devexit w83627hf_remove(struct platform_device *pdev); |
391 | 391 | ||
392 | static int w83627hf_read_value(struct w83627hf_data *data, u16 reg); | 392 | static int w83627hf_read_value(struct w83627hf_data *data, u16 reg); |
393 | static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value); | 393 | static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value); |