Re: [PATCHv4 1/6] input/cma3000_d0x: Support devices without pdata

From: Ricardo Ribalda Delgado
Date: Wed Nov 02 2011 - 10:52:24 EST


Ok, found it, and implement it.... Please check the new patchset :)

Thanks

On Wed, Nov 2, 2011 at 13:41, Ricardo Ribalda Delgado
<ricardo.ribalda@xxxxxxxxx> wrote:
> Hello Grant
>  Thanks for your feedback
>
>>>> No of_device_id match table to match against compatible values?
>>>
>>> I think it is not needed, the device will be matched against the
>>> driver cma3000_d0x_spi.c and AFAIK on the spi/i2c devices you dont
>>> need the device_id match. But you know much more about this :).  Can
>>> you point me to a example where a spi driver uses of_device-id match.
>>
>> Use an of_device_id table.  It's the right thing to do.
>>
> Can you point me to a file where of_device_id is used in a spi/i2c
> driver? I thought that was only for mmaped drivers....
>
>
> Thanks!
>
>
> --
> Ricardo Ribalda
>



--
Ricardo Ribalda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/