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 <[email protected]>
Acked-by: Paul Mundt <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
This commit is contained in:
Laurent Pinchart 2012-12-15 23:51:17 +01:00 • committed by Simon Horman
commit 8682b3c522
2 changed files with 0 additions and 22 deletions

View file

@ -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);