]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: manifest: use bundle's embedded interface pointer
authorAlex Elder <elder@linaro.org>
Tue, 9 Jun 2015 22:42:54 +0000 (17:42 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 10 Jun 2015 17:38:23 +0000 (10:38 -0700)
commitc46839d1cc418aad43c66344888cd266b689acf9
tree8a6088c9dbdb53ebfbccda0123316133f040c24c
parentd393c98f11a8a3355387d52386c885bc89970176
greybus: manifest: use bundle's embedded interface pointer

An initialized bundle structure contains a pointer to its
interface.  Because of this there's no need to provide
the interface pointer to gb_manifest_parse_cports().  This
also precludes the possibility of passing a bad interface
pointer.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/manifest.c