[PATCH 07/42] drm/omap: connector-dvi: remove pdata support
Tomi Valkeinen
tomi.valkeinen at ti.com
Mon Mar 7 08:24:33 UTC 2016
On 07/03/16 10:16, Laurent Pinchart wrote:
>> @@ -319,17 +279,12 @@ static int dvic_probe(struct platform_device *pdev)
>>
>> platform_set_drvdata(pdev, ddata);
>>
>> - if (dev_get_platdata(&pdev->dev)) {
>> - r = dvic_probe_pdata(pdev);
>> - if (r)
>> - return r;
>> - } else if (pdev->dev.of_node) {
>> - r = dvic_probe_of(pdev);
>> - if (r)
>> - return r;
>> - } else {
>> + if (pdev->dev.of_node)
>
> I think you need to invert the condition.
Thanks! Well, I obviously wasn't too careful here... I'll go through all
of them.
Tomi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160307/8fd8a92a/attachment.sig>
More information about the dri-devel
mailing list