proto: rework parse_addr to return struct device_addr
authorYousong Zhou <yszhou4tech@gmail.com>
Wed, 14 Oct 2020 06:37:13 +0000 (14:37 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 22 Oct 2020 02:22:18 +0000 (10:22 +0800)
commit5722218eb523133b688dcc4e5880a7eaddc26e11
tree3490ee6a21e1f9d175f75415b406b729888f80bf
parentced0d5358335304773078066f6f683361bbfd907
proto: rework parse_addr to return struct device_addr

This is a preparation for the next commit to record address index for
the returned device_addr struct

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
proto.c