On Mon, 5 May 2008 08:33:54 -0700, David Brownell wrote: > On Monday 05 May 2008, Jean Delvare wrote: > > little reason to use these i2c clients to log messages. > > I'd assume the opposite, actually. Any i2c_client should > be sensible to use for message logging.
I'd expect drivers to use the main i2c_client for that. i2c-core may still use the dummy clients for debug messages, but it probably doesn't matter. And nothing will break, the logs with just have "dummy" as the client name. At the moment, I can't foresee any problem important enough to require improving the situation - especially since I have no clear idea what I would do anyway. But if you can think of potential problems and you can propose a solution, I'm listening of course :) > > +MODULE_DEVICE_TABLE(i2c, dummy_id); > > Strike that. There's no reason to export this, is there? > The only dummy devices are the ones drivers which tell th > core about. We wouldn't *want* to try hotplugging them. Totally correct, thanks for pointing this out. I thought I had already removed it, but obviously not. Fixed. -- Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
