diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-ibm_iic.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ibm_iic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c index 806e225f3de7..33a2abb6c063 100644 --- a/drivers/i2c/busses/i2c-ibm_iic.c +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |||
@@ -660,7 +660,7 @@ static inline u8 iic_clckdiv(unsigned int opb) | |||
660 | return (u8)((opb + 9) / 10 - 1); | 660 | return (u8)((opb + 9) / 10 - 1); |
661 | } | 661 | } |
662 | 662 | ||
663 | static int __devinit iic_request_irq(struct platform_device *ofdev, | 663 | static int iic_request_irq(struct platform_device *ofdev, |
664 | struct ibm_iic_private *dev) | 664 | struct ibm_iic_private *dev) |
665 | { | 665 | { |
666 | struct device_node *np = ofdev->dev.of_node; | 666 | struct device_node *np = ofdev->dev.of_node; |
@@ -691,7 +691,7 @@ static int __devinit iic_request_irq(struct platform_device *ofdev, | |||
691 | /* | 691 | /* |
692 | * Register single IIC interface | 692 | * Register single IIC interface |
693 | */ | 693 | */ |
694 | static int __devinit iic_probe(struct platform_device *ofdev) | 694 | static int iic_probe(struct platform_device *ofdev) |
695 | { | 695 | { |
696 | struct device_node *np = ofdev->dev.of_node; | 696 | struct device_node *np = ofdev->dev.of_node; |
697 | struct ibm_iic_private *dev; | 697 | struct ibm_iic_private *dev; |
@@ -781,7 +781,7 @@ error_cleanup: | |||
781 | /* | 781 | /* |
782 | * Cleanup initialized IIC interface | 782 | * Cleanup initialized IIC interface |
783 | */ | 783 | */ |
784 | static int __devexit iic_remove(struct platform_device *ofdev) | 784 | static int iic_remove(struct platform_device *ofdev) |
785 | { | 785 | { |
786 | struct ibm_iic_private *dev = dev_get_drvdata(&ofdev->dev); | 786 | struct ibm_iic_private *dev = dev_get_drvdata(&ofdev->dev); |
787 | 787 | ||
@@ -812,7 +812,7 @@ static struct platform_driver ibm_iic_driver = { | |||
812 | .of_match_table = ibm_iic_match, | 812 | .of_match_table = ibm_iic_match, |
813 | }, | 813 | }, |
814 | .probe = iic_probe, | 814 | .probe = iic_probe, |
815 | .remove = __devexit_p(iic_remove), | 815 | .remove = iic_remove, |
816 | }; | 816 | }; |
817 | 817 | ||
818 | module_platform_driver(ibm_iic_driver); | 818 | module_platform_driver(ibm_iic_driver); |