greybus: module.c: add attributes
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 7 Apr 2015 18:26:30 +0000 (20:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 9 Apr 2015 20:50:09 +0000 (22:50 +0200)
commit764e824e2fa5cca0d7c671ae58e65cd06aed0fce
tree7b0fc0555e8111c80ecad1c895b003de4c86dc9d
parent24ef4853986e740b90c4647b8ede70ed690185e2
greybus: module.c: add attributes

This adds the attributes power_control and present to a module.  It also
removes the unneeded module_id attribute, as that comes from the name of
the module itself.

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