Re: [Q] i2c_new_device vs i2c_del_driver

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

 



On Tue, 17 Mar 2009, Jean Delvare wrote:

> On Tue, 17 Mar 2009 18:50:50 +0100 (CET), Guennadi Liakhovetski wrote:
> > 
> > Aha, so, the driver->clients list will not contain my device, and it won't 
> > get unregistered. Ic.
> 
> Correct. Maybe I should have found a better name, like
> driver->detected_clients, to make it clearer. Want me to change it
> know? It should be straightforward.

Well, now I know the difference already, but I am not sure this would have 
helped me before you've explained it:-) So, don't bother because of me. 
Maybe adding a couple of words to Documentation/i2c/writing-clients 
explaining the different function i2c_del_driver() performs on different 
devices. Or a comment in the source - even better.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux