dm: core: Add a new api to get indexed device address
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 23 Dec 2015 15:09:36 +0000 (20:39 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:24:22 +0000 (18:54 +0530)
commit69b41388ba45b853b3538f5b8cac8ab2154d36d8
tree7a62a20c9c4a2a5e6e4f70762b2518360239961e
parent425846ed8f395ca2371bb17226725c062451186d
dm: core: Add a new api to get indexed device address

Add new api to get device address based on index.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Jagan Teki <jteki@openedev.com>
[Rebased on master]
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/core/device.c
include/dm/device.h