summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivek Gautam <gautam.vivek@samsung.com>2013-01-21 19:30:12 +0530
committerFelipe Balbi <balbi@ti.com>2013-01-23 13:43:49 +0200
commit5a1a174c2c7f51b562071e06c9b52c5fd8adf6da (patch)
treef4d8b2bf0ef69f31576e56cf7ccf28fccb569bcd
parented993bf19b98fdb0d364913174b5001fc3ac199b (diff)
usb: phy: samsung: Remove __devinit, __devexit_p and __exit annotations
Dropping __devinit, __devexit_p, __exit annotations since they are nop and no longer supported. Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r--drivers/usb/phy/samsung-usbphy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/phy/samsung-usbphy.c b/drivers/usb/phy/samsung-usbphy.c
index 9e9861c673a..6ea55373383 100644
--- a/drivers/usb/phy/samsung-usbphy.c
+++ b/drivers/usb/phy/samsung-usbphy.c
@@ -769,7 +769,7 @@ static inline const struct samsung_usbphy_drvdata
platform_get_device_id(pdev)->driver_data;
}
-static int __devinit samsung_usbphy_probe(struct platform_device *pdev)
+static int samsung_usbphy_probe(struct platform_device *pdev)
{
struct samsung_usbphy *sphy;
struct usb_otg *otg;
@@ -847,7 +847,7 @@ static int __devinit samsung_usbphy_probe(struct platform_device *pdev)
return usb_add_phy(&sphy->phy, USB_PHY_TYPE_USB2);
}
-static int __exit samsung_usbphy_remove(struct platform_device *pdev)
+static int samsung_usbphy_remove(struct platform_device *pdev)
{
struct samsung_usbphy *sphy = platform_get_drvdata(pdev);
@@ -913,7 +913,7 @@ MODULE_DEVICE_TABLE(platform, samsung_usbphy_driver_ids);
static struct platform_driver samsung_usbphy_driver = {
.probe = samsung_usbphy_probe,
- .remove = __devexit_p(samsung_usbphy_remove),
+ .remove = samsung_usbphy_remove,
.id_table = samsung_usbphy_driver_ids,
.driver = {
.name = "samsung-usbphy",