On Sun, 07 Jan 2007 11:42:43 +0100, Rudolf Marek wrote: > > Is there any sufficiently clean and simple driver I could use as an > > example/starting point by chance? > > Yes maybe you can study the w83l785ts.c it is just temperature driver. Most > simple. Also you may read the docs in kernel Documentation/hwmon/ and /i2c/ > > I had in plan to create some example driver for i2c devices but no time yet :/ In theory Documentation/i2c/writing-clients is that example driver, but in practice it's terribly out-date and thus quite useless. Using a real, simple driver as an example is probably the best solution, at least it doesn't get out-of-date as documentation does. -- Jean Delvare