[RFC PATCH 2.6.12-rc3] dynamic driver sysfs callbacks and RFC on bmcsensor rewrite
Greg KH
greg at kroah.com
Tue Apr 26 09:54:15 CEST 2005
On Tue, Apr 26, 2005 at 09:42:11AM +0200, Jean Delvare wrote:
> > And the void * shouldn't be called ptr, use what other structures call
> > their void pointers, "data", "private", etc.
>
> What are these other structures, BTW? I'd like to take a look at them,
> maybe it would enlighten my views.
struct device
struct file
struct inode
And others. No one needs to define a pointer as "ptr", that's just
redundant :)
But yes, it should be a "void *" that part is correct. No matter what
we want to store in there, that will be sufficient.
thanks,
greg k-h
More information about the lm-sensors
mailing list