i2c: nomadik: factor platform data into state container
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Feb 2014 10:27:26 +0000 (11:27 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 5 Mar 2014 16:10:26 +0000 (17:10 +0100)
commitc33a004c9568cbd4b944a1ab293289822e6d562d
treea771ac9d27a0002068ae1f3fb10fdab2d589b400
parente89364556824cc7a947f99173af842217074c099
i2c: nomadik: factor platform data into state container

Move the former platform data struct nmk_i2c_controller into the
per-device state container struct i2c_nmk_client, and remove all
the platform data probe path hacks.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[wsa: use 100kHz as default]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-nomadik.c