[PATCH] I2C/SMBus stub for driver testing
commit0edcebec60705cfc0b32b910f0958e1c6d6dc54a
authorMark M. Hoffman <mhoffman@lightlink.com>
Wed, 8 Sep 2004 05:34:34 +0000 (7 22:34 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 8 Sep 2004 05:34:34 +0000 (7 22:34 -0700)
tree1faead827d3e6c5dd6b653490bebec5e5e5f8057
parent1418844258e022bd24c863de05d6110326103ff1
[PATCH] I2C/SMBus stub for driver testing

* Greg KH <greg@kroah.com> [2004-08-24 16:44:32 -0700]:
> > > Why not?  It looks useful to me.  Care to send me a patch adding
> > > this to the main kernel tree?

* Mark M. Hoffman <mhoffman@lightlink.com> [2004-08-25 10:25:02 -0400]:
> Later today, sure.

Well here it is, one day later because I really didn't want to do this
with printk.  I spent some time looking around and relayfs seems like
a good fit.  Do you think relayfs will ever get merged?  Meanwhile...

* * * * *

This patch, applied to 2.6.9-rc1, adds an I2C/SMBus test stub that is useful
for developing sensors drivers.

Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Documentation/i2c/i2c-stub [new file with mode: 0644]
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-stub.c [new file with mode: 0644]