]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: module: get rid of global list of modules
authorGreg Kroah-Hartman <greg@kroah.com>
Wed, 24 Dec 2014 21:01:46 +0000 (13:01 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 2 Jan 2015 21:05:42 +0000 (13:05 -0800)
commite5646710c1836abb038415d3009f1c72d6794b77
treeaa6fab744f389401f859e8bab4c8a8306729560d
parent2c07817e72450e6fab7b49c3cbb35799bc418880
greybus: module: get rid of global list of modules

Use the list that the driver core keeps of our structure, no need to
duplicate it with a local list as well.  This gets rid of a static lock
too, always a nice thing to do.

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