aboutsummaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2012-12-15 23:51:17 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-01-25 09:24:25 +0900
commit8682b3c522c639f3a0de31c86bb91f2f9a6c76cb (patch)
tree5765958316a32602bb5e1557830ff5e3ab96d32e /drivers/sh
parent3e347f08aab1bee4187fcda482ebde49090c4844 (diff)
sh-pfc: Remove platform device registration
The PFC platform device is now registered by arch code, remove the legacy registration mechanism. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/pfc/core.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/sh/pfc/core.c b/drivers/sh/pfc/core.c
index b2e121d927a..9456c70a2da 100644
--- a/drivers/sh/pfc/core.c
+++ b/drivers/sh/pfc/core.c
@@ -578,18 +578,6 @@ static struct platform_driver sh_pfc_driver = {
},
};
-static struct platform_device sh_pfc_device = {
- .name = DRV_NAME,
- .id = -1,
-};
-
-int __init register_sh_pfc(struct sh_pfc_platform_data *pdata)
-{
- sh_pfc_device.dev.platform_data = pdata;
-
- return platform_device_register(&sh_pfc_device);
-}
-
static int __init sh_pfc_init(void)
{
return platform_driver_register(&sh_pfc_driver);