On Fri, Apr 20, 2018 at 06:07:25PM +0800, John Garry wrote: > + } else { > + device->driver_data = dev;
I think this deserves a comment explaining why we (ab)use driver_data like this.
On Fri, Apr 20, 2018 at 06:07:25PM +0800, John Garry wrote: > + } else { > + device->driver_data = dev;
I think this deserves a comment explaining why we (ab)use driver_data like this.