diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-06-15 12:39:45 -0400 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-06-15 12:39:45 -0400 |
commit | cd659fd0d7c91b7830d1fea0c76a640e171d2d43 (patch) | |
tree | af28cde84cde08e83e37978e6986693b1d810b66 /drivers/hwmon/sht15.c | |
parent | 45e3e1935e2857c54783291107d33323b3ef33c8 (diff) |
hwmon: Fix more __devexit_p glitches
Make sure __devexit and devexit_p() match in all hwmon drivers.
Suggested by a similar fix from Mike Frysinger.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Diffstat (limited to 'drivers/hwmon/sht15.c')
-rw-r--r-- | drivers/hwmon/sht15.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index 6cbdc2fea734..56cd6004da36 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c | |||
@@ -627,35 +627,35 @@ static struct platform_driver sht_drivers[] = { | |||
627 | .owner = THIS_MODULE, | 627 | .owner = THIS_MODULE, |
628 | }, | 628 | }, |
629 | .probe = sht15_probe, | 629 | .probe = sht15_probe, |
630 | .remove = sht15_remove, | 630 | .remove = __devexit_p(sht15_remove), |
631 | }, { | 631 | }, { |
632 | .driver = { | 632 | .driver = { |
633 | .name = "sht11", | 633 | .name = "sht11", |
634 | .owner = THIS_MODULE, | 634 | .owner = THIS_MODULE, |
635 | }, | 635 | }, |
636 | .probe = sht15_probe, | 636 | .probe = sht15_probe, |
637 | .remove = sht15_remove, | 637 | .remove = __devexit_p(sht15_remove), |
638 | }, { | 638 | }, { |
639 | .driver = { | 639 | .driver = { |
640 | .name = "sht15", | 640 | .name = "sht15", |
641 | .owner = THIS_MODULE, | 641 | .owner = THIS_MODULE, |
642 | }, | 642 | }, |
643 | .probe = sht15_probe, | 643 | .probe = sht15_probe, |
644 | .remove = sht15_remove, | 644 | .remove = __devexit_p(sht15_remove), |
645 | }, { | 645 | }, { |
646 | .driver = { | 646 | .driver = { |
647 | .name = "sht71", | 647 | .name = "sht71", |
648 | .owner = THIS_MODULE, | 648 | .owner = THIS_MODULE, |
649 | }, | 649 | }, |
650 | .probe = sht15_probe, | 650 | .probe = sht15_probe, |
651 | .remove = sht15_remove, | 651 | .remove = __devexit_p(sht15_remove), |
652 | }, { | 652 | }, { |
653 | .driver = { | 653 | .driver = { |
654 | .name = "sht75", | 654 | .name = "sht75", |
655 | .owner = THIS_MODULE, | 655 | .owner = THIS_MODULE, |
656 | }, | 656 | }, |
657 | .probe = sht15_probe, | 657 | .probe = sht15_probe, |
658 | .remove = sht15_remove, | 658 | .remove = __devexit_p(sht15_remove), |
659 | }, | 659 | }, |
660 | }; | 660 | }; |
661 | 661 | ||