Re: Question about windfarm drivers

2009-04-17 Thread Benjamin Herrenschmidt
On Thu, 2009-04-16 at 10:52 +0200, Jean Delvare wrote: > In wf_lm75_release(), i2c_detach_client() is called if and only if > lm->i2c.adapter is set, which is not the case, and then the data > structure, including the i2c client, is freed from memory. This means > that the freed i2c client is stil

Question about windfarm drivers

2009-04-16 Thread Jean Delvare
Hi Ben, hi Paul, As I am converting the windfarm drivers to the new i2c device binding model, I need to understand how these drivers work currently. There's one thing I do not understand so I'd appreciate if you could explain it to me. I am looking at function wf_lm75_detach() in windfarm_lm75_se