i2c-designware: i2c_dw_read: Use "struct dw_i2c_dev" pointer
authorShinya Kuribayashi <shinya.kuribayashi@necel.com>
Fri, 6 Nov 2009 12:45:39 +0000 (21:45 +0900)
committerBen Dooks <ben-linux@fluff.org>
Wed, 9 Dec 2009 00:19:10 +0000 (00:19 +0000)
commit78839bd0f22c3b6e7273568e042bf4d637cfedb3
tree496b7e33c1b6926ea84dcd2b0d15e6df269fbbaa
parent91b52caec040064b4df540b72ad7f18a22fd0508
i2c-designware: i2c_dw_read: 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