On 31/01/2019 10:31, Pi-Hsun Shih wrote:
> From: Erin Lo <erin...@mediatek.com>
[...]
> +struct platform_device *scp_get_plat_device(struct platform_device *pdev)
> +{
> +     struct device *dev = &pdev->dev;
> +     struct device_node *scp_node;
> +     struct platform_device *scp_pdev;
> +
> +     scp_node = of_parse_phandle(dev->of_node, "mediatek,scp", 0);

IHMO this should be reflected in the binding description

Regards,
Matthias

Reply via email to