OSDN Git Service

greybus: battery: fix class-device parent
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 11 Nov 2015 09:07:03 +0000 (10:07 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 11 Nov 2015 17:18:28 +0000 (09:18 -0800)
commitcd414d472637a30104b4908f5f239f3c06d90fe9
tree58030ed384d8a0f4d2a8559056a0b04da95c993b
parent0d1d6ee209e1129c584c2b00a48a33ff1fb7312c
greybus: battery: 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/battery.c