greybus: connection: always cancel operations on connection disable
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 19 Jan 2016 11:51:03 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 19 Jan 2016 20:12:40 +0000 (12:12 -0800)
commit81fba24969c0ca427a8cd3d31bea10749f15b737
tree2493dc029be64bc830e388ab54aa45784943cf7c
parentbfa9a5e2d07937a7620d55ff6eb55b480bc13100
greybus: connection: always cancel operations on connection disable

Always cancel all operations on connection disable and remove the now
unused DESTROYING state.

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h