greybus: interface: Receive serial-number on hotplug event
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 28 Dec 2015 06:29:00 +0000 (11:59 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 30 Dec 2015 21:13:04 +0000 (13:13 -0800)
commit57c6bcc635626e24fff3546bb072b4ba4163872b
tree5501536e0d5d531ec1bdca6e772609d2b1c7e0ac
parent63d742b68abd09977dfa9f488e5494ec65485ef0
greybus: interface: Receive serial-number on hotplug event

Two exactly same modules can be uniquely identified using module's
serial-number. This patch updates the interface hotplug event to also
receive the serial-number of the module.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Documentation/sysfs-bus-greybus
drivers/staging/greybus/Documentation/sysfs/greybus1/1-2/serial_number [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus1/1-4/serial_number [new file with mode: 0644]
drivers/staging/greybus/Documentation/sysfs/greybus2/2-3/serial_number [new file with mode: 0644]
drivers/staging/greybus/greybus_protocols.h
drivers/staging/greybus/interface.c
drivers/staging/greybus/interface.h
drivers/staging/greybus/svc.c