i2c-designware: Move checking of IP core version to i2c_dw_init()
authorDirk Brandewie <dirk.brandewie@gmail.com>
Thu, 6 Oct 2011 18:26:28 +0000 (11:26 -0700)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:00:52 +0000 (11:00 +0100)
commit4a423a8c8107b983007199c76c8327cd1747f092
tree2eeef3d743d73684a8d8f97e7b4d6ebacb72e608
parent18c4089e6cd6b3052895481628f478ba8351ac00
i2c-designware: Move checking of IP core version to i2c_dw_init()

Move checking IP core version to i2c_dw_init() in preparation for
splitting i2c-designware.c into core and bus specific portions.

Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c