rpmsg: Name rpmsg devices based on channel id
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 1 Sep 2016 22:27:54 +0000 (15:27 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 9 Sep 2016 05:14:55 +0000 (22:14 -0700)
commit4dffed5b3ac796bcaf040ca1f64e650f9263363e
treec6133663a5f9e6ef7ccea3afda4cf4b412d27968
parenta16644cb3a96323074d3e71b5d600066d6397c5a
rpmsg: Name rpmsg devices based on channel id

By basing rpmsg device names on channel id we end up with human readable
device names in sysfs and debug logs.

Reviewed-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/virtio_rpmsg_bus.c