Re: [PATCH 07/42] drm/omap: connector-dvi: remove pdata support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux