greybus: light: fix class-device parent
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 11 Nov 2015 09:07:04 +0000 (10:07 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 11 Nov 2015 17:18:28 +0000 (09:18 -0800)
commitf865734d3cf58cc9aba3f58962fbca7b97fe47d4
tree6b8038bda7ca5813cc81d6bac266cc7f67f80f36
parentcd414d472637a30104b4908f5f239f3c06d90fe9
greybus: light: fix class-device parent

Greybus bundle drivers should register their class devices as children
to the bundle device that they bind to.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/light.c