[lm-sensors] [PATCH v3] hwmon: lm75: Add __devinit and __devexit section initializers
shubhrajyoti at ti.com
Mon Sep 13 12:40:05 CEST 2010
> -----Original Message-----
> From: Michael Lawnick [mailto:ml.lawnick at gmx.de]
> Sent: Monday, September 13, 2010 2:52 PM
> To: Datta, Shubhrajyoti
> Cc: lm-sensors at lm-sensors.org
> Subject: Re: [lm-sensors] [PATCH v3] hwmon: lm75: Add __devinit and
> __devexit section initializers
> Shubhrajyoti D said the following:
> > -static int
> > +static int __devinit
> > lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
> Are you sure?
> If I understand correctly, this function will be thrown away after
> system/module init. But what's about devices that are added later?
> I would expect them to crash on init...
As all of these are I2C devices are I2C I thought it makes sense.
Are you aware of devices that can be plugged/wired runtime?
More information about the lm-sensors