summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorShridhar Rasal <srasal@nvidia.com>2013-08-21 14:23:54 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:19:37 -0700
commit04447a0110decc2247f5532333a1d88305007e77 (patch)
treefe0e5df67a2d1c6efed7eefe88084aa7847ee502 /drivers/extcon
parentaff23ccbca8a3964a322b3fe58d660aa7674b486 (diff)
extcon: max77665: remove deprecated macros
__devinit, __devexit are deprecared from K3.4 and above. Remove usage from driver. bug 1351841 Change-Id: Ib0227a07c12c6c24c42400e7c23d0d39a543cdbd Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/264277 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-max77665.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/extcon/extcon-max77665.c b/drivers/extcon/extcon-max77665.c
index ee35649127dc..a9558e0e1058 100644
--- a/drivers/extcon/extcon-max77665.c
+++ b/drivers/extcon/extcon-max77665.c
@@ -142,7 +142,7 @@ static int max77665_enable_id_detect_interrupt(struct max77665_muic *muic)
return ret;
}
-static int __devinit max77665_muic_probe(struct platform_device *pdev)
+static int max77665_muic_probe(struct platform_device *pdev)
{
struct max77665_muic_platform_data *pdata;
struct max77665_muic *muic;
@@ -220,7 +220,7 @@ scrub:
return ret;
}
-static int __devexit max77665_muic_remove(struct platform_device *pdev)
+static int max77665_muic_remove(struct platform_device *pdev)
{
struct max77665_muic *muic = platform_get_drvdata(pdev);
@@ -264,7 +264,7 @@ static struct platform_driver max77665_muic_driver = {
.pm = &max77665_pm_ops,
},
.probe = max77665_muic_probe,
- .remove = __devexit_p(max77665_muic_remove),
+ .remove = max77665_muic_remove,
};
static int __init max77665_extcon_driver_init(void)