greybus: drop gb_* device fields from gb_module
authorAlex Elder <elder@linaro.org>
Mon, 20 Oct 2014 15:27:57 +0000 (10:27 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 20 Oct 2014 22:27:37 +0000 (06:27 +0800)
commit09c521dc0a98141ae3c1b431c967d90d46c372e8
treea4f33d5f07618c39ecce7c54b1d465dac47651c5
parent5b3db0ddaaf7e844dd0efbaa11a1cec4700aff34
greybus: drop gb_* device fields from gb_module

A struct gb_module has a bunch of fields from the earlier skeleton
code, where a module was assumed to possibly have one of every
type of device available on the GP Bridge.  The manifest parsing
code changed it so these things will be related to connection
endpoints, so these gb_module fields are no longer needed.

A few of these (battery and sdio) haven't been implemented the "new
way" yet, so just leave a bit of the code that was there commented
out for now.

Also, gb_tty seems to be partially implemented and I don't want to
remove that without knowing where it's headed, so that one stays.

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