summaryrefslogtreecommitdiff
path: root/drivers/i2c/sandbox_i2c.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-20 12:37:14 -0600
committerSimon Glass <sjg@chromium.org>2015-05-05 20:58:19 -0600
commitba3864f8037f58dd1f46cad3b76adc0a84bd33b3 (patch)
treec635c755acd3922067cba3c1ca98a100ec5059fe /drivers/i2c/sandbox_i2c.c
parent1bde67b1f492cbb0177241a56af59f706d45fccf (diff)
dm: i2c: Add functions to read and write a register
Add driver model versions of the legacy functions to read and write a single byte register. These are a useful shortcut in many cases. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/sandbox_i2c.c')
0 files changed, 0 insertions, 0 deletions