[lm-sensors] [PATCH v3] hwmon: lm75: Add __devinit and __devexit section initializers

Michael Lawnick ml.lawnick at gmx.de
Mon Sep 13 11:22:02 CEST 2010


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...

-- 
KR
Michael



More information about the lm-sensors mailing list