greybus: driver matching: Greybus drivers bind to interface blocks, not modules
authorGreg Kroah-Hartman <greg@kroah.com>
Thu, 11 Dec 2014 22:11:02 +0000 (17:11 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 12 Dec 2014 00:53:59 +0000 (19:53 -0500)
commit2f0c8aa4e6710a939da64412da0bdd7bb9aa5557
tree54404f1df143c3a180bcda88eabc5887b6aa6860
parent640f13ecc879163dd45c213fbbef8ffc825d95bb
greybus: driver matching: Greybus drivers bind to interface blocks, not modules

Because of this, rename greybus_module_id to greybus_interface_block_id.

We still need to add a way for a "class" driver to be bound to an
interface, but for now, all we really need is the vendor/product pair as
the GP Bridge interface block is going to be our main user.

Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/greybus_id.h
drivers/staging/greybus/interface_block.c
drivers/staging/greybus/interface_block.h