> > I2C_ALGO_MAX, defined in i2c.h, doesn't seem to be used anywhere. > > Same for I2C_DUMMY_MAX. Should we simply remove them? > > agreed. apparently these aren't registered in a static table like > drivers are. Done. > BTW if we want to make things better for the foolish people that want > to compile-in every driver we should increase the other xxx_MAX > defines. Compiling all sensor chip drivers into the kernel is BAD. Do we want to help people doing a BAD thing? -- Jean Delvare http://www.ensicaen.ismra.fr/~delvare/