commit | efe6ef76ba97f20302d200368d9f99848350bae1 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Wed Nov 25 15:59:06 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Wed Nov 25 15:30:03 2015 -0800 |
tree | 920071419cb19502b0496a07f66251a32dfe4193 | |
parent | f0172c7043d772ed0d198046cb6142dd91ab2a5a [diff] |
greybus: svc: make svc a device Make the svc object a child device of the host-device device and use driver core to manage its lifetime. The svc device name is "<bus_id>-svc", where bus_id is the dynamically assigned id of the host device. Note that there is exactly one svc-device per host device (bus). Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>