On Mon, Mar 22, 2010 at 09:33:58PM +0100, Jean Delvare wrote:
On Sun, 21 Mar 2010 17:09:56 +0100, Hans Verkuil wrote:
On Sunday 21 March 2010 15:14:17 Mark Brown wrote:
I agree with this. There are also some use cases where the device data
is actually static (eg, a generic description of the device or a
reference to some other shared resource rather than per device allocated
From a technical perspective, there is little rationale to have the
client data pointed to static data. If you could reach it from probe(),
it has to be a global, and if it is a global, you can reach it again
directly from the rest of your code.
The use case I can think of there is bus type specific stuff for devices
that support multiple buses.