dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()
authorSimon Glass <sjg@chromium.org>
Sat, 16 May 2015 21:01:41 +0000 (15:01 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Jun 2015 01:26:54 +0000 (19:26 -0600)
commita2879764ba392229dc7aba89951e74524750af18
tree142fc50a5e76f5dab76fa154463fc0fd8577d3a9
parentb2016133edec9ece02dca7881e2e0c059d2b421c
dm: i2c: Add compatibility functions for dm_i2c_reg_read/write()

Add the legacy i2c_reg_read/write() functions to the compatibility layer
so that they can be used when CONFIG_DM_I2C_COMPAT is defined.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/i2c/i2c-uclass-compat.c
include/i2c.h