summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-08-01 12:51:00 +0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-08-01 13:54:19 +0400
commit160a84cfc975f4aaec1cb32a48bba23ccaf43761 (patch)
treeb2f7c3dc3a8791639813121a05f9c248b848d207 /arch/arm/plat-mxc/devices.c
parent47ccfc340aa83e0741d9cabd7f5a3e74659a411d (diff)
downloadlinux-160a84cfc975f4aaec1cb32a48bba23ccaf43761.tar.xz
ARM: mxc: drop now unused function mxc_register_device
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices.c')
-rw-r--r--arch/arm/plat-mxc/devices.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/plat-mxc/devices.c b/arch/arm/plat-mxc/devices.c
index 0d6ed31bdbf2..5aaa8c5f3420 100644
--- a/arch/arm/plat-mxc/devices.c
+++ b/arch/arm/plat-mxc/devices.c
@@ -23,20 +23,6 @@
#include <linux/platform_device.h>
#include <mach/common.h>
-int __init mxc_register_device(struct platform_device *pdev, void *data)
-{
- int ret;
-
- pdev->dev.platform_data = data;
-
- ret = platform_device_register(pdev);
- if (ret)
- pr_debug("Unable to register platform device '%s': %d\n",
- pdev->name, ret);
-
- return ret;
-}
-
struct platform_device *__init imx_add_platform_device_dmamask(
const char *name, int id,
const struct resource *res, unsigned int num_resources,