dm: introduce dev_get_addr interface
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 10 Feb 2015 06:46:32 +0000 (14:46 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 22:17:29 +0000 (15:17 -0700)
commitc9cac3f8413c1f67d1e1b7a1770e584584107cd2
tree5e9344a29ff68938b6901a7b7a1ca7db53e92617
parentbe9891c52d5472156949a3137be5f48355fd3f29
dm: introduce dev_get_addr interface

Abstracting dev_get_addr can improve drivers that want to
get device's address.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device.h