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)
commit7d85ccd816535f56880f7dfdb4de056794376b2c
tree5e0913e2089d9e2c303239bf29e130307bf56e59
parent84bf2c868f3ca996e5bbd3beb2ef502f457140f3
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