greybus: manifest: rework bundle parsing
authorAlex Elder <elder@linaro.org>
Tue, 9 Jun 2015 22:42:56 +0000 (17:42 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 10 Jun 2015 17:38:23 +0000 (10:38 -0700)
commitc27a253fc0481b46759082c72d196777ea459a6e
treebc01d8fa6954a6fa60c83971b1bcb3dfd1220464
parenta6b13eb648fd3d03d45e722f81f26eed9bdecb87
greybus: manifest: rework bundle parsing

Rework the the code that parses the manifest for bundles so it only
touches each manifest descriptor once.  (Previously the list was
scanned from the beginning repeatedly until all bundles 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