mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
sh-pfc: Remove support for platform data
Platform data isn't used, support can thus be removed. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
c8f50e8657
commit
3a7f520e63
1 changed files with 1 additions and 2 deletions
|
|
@ -354,8 +354,7 @@ static int sh_pfc_probe(struct platform_device *pdev)
|
|||
struct sh_pfc *pfc;
|
||||
int ret;
|
||||
|
||||
info = pdev->id_entry->driver_data
|
||||
? (void *)pdev->id_entry->driver_data : pdev->dev.platform_data;
|
||||
info = (void *)pdev->id_entry->driver_data;
|
||||
if (info == NULL)
|
||||
return -ENODEV;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue