]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: i2c: Add functions to read and write a register
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:14 +0000 (12:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:13 +0000 (22:37 +0200)
commit10a7b726296d52243a28b4a2335c8a15413ad9ae
tree315250fe908be29b9458a827f33975d0c98f8023
parent0953ca20968da6dc7092169676e498f9e6b9dc36
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>
drivers/i2c/i2c-uclass.c
include/i2c.h