diff options
Diffstat (limited to 'drivers/bus/omap-ocp2scp.c')
-rw-r--r-- | drivers/bus/omap-ocp2scp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bus/omap-ocp2scp.c b/drivers/bus/omap-ocp2scp.c index 0c48b0e05ed6..fe7191663bbd 100644 --- a/drivers/bus/omap-ocp2scp.c +++ b/drivers/bus/omap-ocp2scp.c | |||
@@ -52,7 +52,7 @@ static int ocp2scp_remove_devices(struct device *dev, void *c) | |||
52 | return 0; | 52 | return 0; |
53 | } | 53 | } |
54 | 54 | ||
55 | static int __devinit omap_ocp2scp_probe(struct platform_device *pdev) | 55 | static int omap_ocp2scp_probe(struct platform_device *pdev) |
56 | { | 56 | { |
57 | int ret; | 57 | int ret; |
58 | unsigned res_cnt, i; | 58 | unsigned res_cnt, i; |
@@ -116,7 +116,7 @@ err0: | |||
116 | return ret; | 116 | return ret; |
117 | } | 117 | } |
118 | 118 | ||
119 | static int __devexit omap_ocp2scp_remove(struct platform_device *pdev) | 119 | static int omap_ocp2scp_remove(struct platform_device *pdev) |
120 | { | 120 | { |
121 | pm_runtime_disable(&pdev->dev); | 121 | pm_runtime_disable(&pdev->dev); |
122 | device_for_each_child(&pdev->dev, NULL, ocp2scp_remove_devices); | 122 | device_for_each_child(&pdev->dev, NULL, ocp2scp_remove_devices); |
@@ -134,7 +134,7 @@ MODULE_DEVICE_TABLE(of, omap_ocp2scp_id_table); | |||
134 | 134 | ||
135 | static struct platform_driver omap_ocp2scp_driver = { | 135 | static struct platform_driver omap_ocp2scp_driver = { |
136 | .probe = omap_ocp2scp_probe, | 136 | .probe = omap_ocp2scp_probe, |
137 | .remove = __devexit_p(omap_ocp2scp_remove), | 137 | .remove = omap_ocp2scp_remove, |
138 | .driver = { | 138 | .driver = { |
139 | .name = "omap-ocp2scp", | 139 | .name = "omap-ocp2scp", |
140 | .owner = THIS_MODULE, | 140 | .owner = THIS_MODULE, |