summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
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 b2e121d..9456c70 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);
OpenPOWER on IntegriCloud