]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-s3c2410: move to using platform idtable to match devices
authorBen Dooks <ben-linux@fluff.org>
Fri, 12 Jun 2009 09:45:29 +0000 (10:45 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sat, 13 Jun 2009 09:39:26 +0000 (10:39 +0100)
commit1ac2a7192ec129e8033f80d0f04767bcf424c49b
tree5e0913e2089d9e2c303239bf29e130307bf56e59
parent85cc95c829bcff9a724c2a0758bd31e0a162c2e6
i2c-s3c2410: move to using platform idtable to match devices

Change to using platform id table to match either of the two supported
platform device names in the driver. This simplifies the driver init and
exit code

Note, log messages will now be prefixed with 's3c-i2c' instead of the
driver name, so output will be of the form of:

s3c-i2c s3c2440-i2c.0: slave address 0x10

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-s3c2410.c