i2c-s3c2410: Keep a copy of platform data and use it
authorThomas Abraham <thomas.abraham@linaro.org>
Tue, 13 Sep 2011 04:16:04 +0000 (09:46 +0530)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:21:16 +0000 (11:21 +0100)
commit4fd81eb2d64295ab038a3ea9d44e0eac85a6648c
tree2f548809a45ddc7f862970d93675f3676399dce0
parent1fdb24e969110fafea36d3b393bea438f702c87f
i2c-s3c2410: Keep a copy of platform data and use it

The platform data is copied into driver's private data and the copy is
used for all access to the platform data. This simpifies the addition
of device tree support for the i2c-s3c2410 driver.

Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-s3c2410.c