Hi Trilok, On Mon, Mar 02, 2009 at 10:52:38AM +0530, Trilok Soni wrote: > >> This adds empty directories and the neccessary entries to Makefiles and > >> Kconfigs in order to provide a place for hardware sensors which are not > >> meant to be based in drivers/hwmon. > >> > >> Signed-off-by: Daniel Mack <daniel@xxxxxxxx> > >> --- > >> How about this approach? Take it as RFC ... > > > > Any oppinion on this, anyone? I'm currently writing a driver for an > > accelerometer and will have the same uncertainty of where to put it in > > the end. > > Better to submit this patch to LKML too, as it adds new directory. For Did that yesterday :) > accelerometer, few patches were submitted as "Industrial IO" framework > from Jonathan Cameron. If you grep in LKML archive you will get the > idea, also another place for accelerometer could be drivers/hwmon > directory too if it fits in your driver requirements. I realized that there is a driver for this accellerometer device already, it's just not usable with i2c/spi accessors. I'll discuss that now on the lkml, the question that started the thread is hence only left open for the ambient light sensors (my own one and the tps2550 in drivers/i2c/chips). Daniel -- 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