]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: manifest: rework cport parsing
authorAlex Elder <elder@linaro.org>
Tue, 9 Jun 2015 22:42:55 +0000 (17:42 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 10 Jun 2015 17:38:23 +0000 (10:38 -0700)
commita6b13eb648fd3d03d45e722f81f26eed9bdecb87
treeed962c6c6492b554e1b3750d52c383189648d280
parentc46839d1cc418aad43c66344888cd266b689acf9
greybus: manifest: rework cport parsing

Rework the the code that parses the manifest for CPorts associated
with a bundle so it only touches each manifest descriptor once.
(Previously the list was scanned from the beginning repeatedly
until all bundle CPorts were found.)  Shorten the name of the
descriptor variable, to avoid line wrap.

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