On Fri, Dec 04, 2009 at 02:29:36PM -0600, LKomz Komz wrote: > Thanks Greg for the reply! > > I have an i2c driver written using the attach method for binding. It opens > the device and reads the registers etc. > > The following document talks about another binding method. > http://www.kernel.org/doc/Documentation/i2c/upgrading-clients > > Could you clarify that whether the new binding method is the way to go for > i2c devices. Yes, why would the document lie? > Do I have to rewrite the current driver to make it compatible with > future kernel versions.? Yes. The best thing for you to do is get it into the main kernel tree, then it will remain compatible with future kernel versions as the API changes over time. thanks, greg k-h -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ