Re: [PATCH v2 1/3] hwmon: (lm90) Introduce chip parameter structure

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

 



On Wed, 6 Oct 2010 08:30:21 -0700, Guenter Roeck wrote:
> On Wed, Oct 06, 2010 at 11:09:30AM -0400, Jean Delvare wrote:
> > On Wed, 6 Oct 2010 17:05:53 +0200, Jean Delvare wrote:
> > > I like this change a lot, even though it makes the binary module a
> > > little larger.
> > 
> > Err, scratch that, it doesn't. Not sure why I thought it did...
> > 
> At least it makes the source a bit larger.
> 
> One thought: Would it make sense to use initdata for the initialization code ?

Almost impossible for I2C device drivers, as you never know when
probe() will be called. For example, lm90 could be built into the
kernel, but the underlying i2c bus driver be loaded as a module...

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux