dm: i2c: s3c24x0: adjust to dm-i2c api
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Jan 2015 12:36:36 +0000 (13:36 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:10:00 +0000 (17:10 -0700)
commit8dfcbaa681667bd72ad1c6213ef548b7a372ff65
tree63a27b27bb908b7e31ce2fd79732349b53be9a75
parentfda0e27bfd7dd8ea5fefaa00c932903e1fe82a16
dm: i2c: s3c24x0: adjust to dm-i2c api

This commit adjusts the s3c24x0 driver to new i2c api
based on driver-model. The driver supports standard
and high-speed i2c as previous.

Tested on Trats2, Odroid U3, Arndale, Odroid XU3

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Tested-by: Simon Glass <sjg@chromium.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heiko Schocher <hs@denx.de>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/i2c/s3c24x0_i2c.c