i2c-designware: i2c_dw_xfer_msg: Use "struct dw_i2c_dev" pointer
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Fri, 6 Nov 2009 12:46:04 +0000 (21:46 +0900)
committerBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:19:10 +0000 (00:19 +0000)
commite77cf23251e7f55335d986ee0a6d2c0084889dee
tree66476bda8fc91ba10485ff086d4d8d63b8784b6e
parent78839bd0f22c3b6e7273568e042bf4d637cfedb3
i2c-designware: i2c_dw_xfer_msg: Use "struct dw_i2c_dev" pointer

We don't have to use "struct i2c_adapter" pointer here.
Let's use a local "struct dw_i2c_dev" pointer, instead.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware.c