greybus: es2: move ap_disconnect() below ap_probe()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Apr 2016 06:01:16 +0000 (11:31 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 21 Apr 2016 07:11:15 +0000 (16:11 +0900)
commit2437f1c6b582d1d676c08b6069859c11266c69da
tree627bb8464830076d5dea7eb394e5b08a04003065
parent62de6e0a7262edebc4debd99585b19dc10d2741d
greybus: es2: move ap_disconnect() below ap_probe()

This makes it more readable, as the functions are present in this order
in the structure as well. Also keeping these two makes more sense.

Tested by removing the gb-es2.ko module on both EVT1.5 and qemu with
gbsim.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c