I2C: OMAP: remove unneccesary use of pdev
authorKevin Hilman <khilman@ti.com>
Tue, 17 May 2011 14:31:37 +0000 (16:31 +0200)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 08:37:09 +0000 (09:37 +0100)
commit7f4b08eeeedd90d97c8c581d048074e0c2643bec
tree898c44704d8c05bcb9c19e60b5ccf042cd89babd
parentcb28e5823588cc357865cc0eab2afeec90e1f057
I2C: OMAP: remove unneccesary use of pdev

A pointer to the struct device associated with the i2c device is
already kept in the struct omap_i2c_dev, so use omap_i2c_device to
find the pointer to struct device.

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
drivers/i2c/busses/i2c-omap.c