aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/syscon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/syscon.c')
-rw-r--r--drivers/mfd/syscon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c
index 65fe609026cc..3f10591ea94e 100644
--- a/drivers/mfd/syscon.c
+++ b/drivers/mfd/syscon.c
@@ -97,7 +97,7 @@ static struct regmap_config syscon_regmap_config = {
97 .reg_stride = 4, 97 .reg_stride = 4,
98}; 98};
99 99
100static int __devinit syscon_probe(struct platform_device *pdev) 100static int syscon_probe(struct platform_device *pdev)
101{ 101{
102 struct device *dev = &pdev->dev; 102 struct device *dev = &pdev->dev;
103 struct device_node *np = dev->of_node; 103 struct device_node *np = dev->of_node;
@@ -138,7 +138,7 @@ static int __devinit syscon_probe(struct platform_device *pdev)
138 return 0; 138 return 0;
139} 139}
140 140
141static int __devexit syscon_remove(struct platform_device *pdev) 141static int syscon_remove(struct platform_device *pdev)
142{ 142{
143 struct syscon *syscon; 143 struct syscon *syscon;
144 144
@@ -156,7 +156,7 @@ static struct platform_driver syscon_driver = {
156 .of_match_table = of_syscon_match, 156 .of_match_table = of_syscon_match,
157 }, 157 },
158 .probe = syscon_probe, 158 .probe = syscon_probe,
159 .remove = __devexit_p(syscon_remove), 159 .remove = syscon_remove,
160}; 160};
161 161
162static int __init syscon_init(void) 162static int __init syscon_init(void)