diff options
Diffstat (limited to 'arch/arm/plat-mxc/devices.c')
-rw-r--r-- | arch/arm/plat-mxc/devices.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/plat-mxc/devices.c b/arch/arm/plat-mxc/devices.c index a34b2ae895f2..4d55a7a26e98 100644 --- a/arch/arm/plat-mxc/devices.c +++ b/arch/arm/plat-mxc/devices.c | |||
@@ -23,20 +23,6 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <mach/common.h> | 24 | #include <mach/common.h> |
25 | 25 | ||
26 | int __init mxc_register_device(struct platform_device *pdev, void *data) | ||
27 | { | ||
28 | int ret; | ||
29 | |||
30 | pdev->dev.platform_data = data; | ||
31 | |||
32 | ret = platform_device_register(pdev); | ||
33 | if (ret) | ||
34 | pr_debug("Unable to register platform device '%s': %d\n", | ||
35 | pdev->name, ret); | ||
36 | |||
37 | return ret; | ||
38 | } | ||
39 | |||
40 | struct device mxc_aips_bus = { | 26 | struct device mxc_aips_bus = { |
41 | .init_name = "mxc_aips", | 27 | .init_name = "mxc_aips", |
42 | .parent = &platform_bus, | 28 | .parent = &platform_bus, |