]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
greybus: vibrator-gb: convert to use gb_operation_sync
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 24 Nov 2014 01:45:20 +0000 (17:45 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 24 Nov 2014 20:56:51 +0000 (12:56 -0800)
commitac3d24930226fac39ea6023577a03b9b5da4d5f6
tree0d5a9b4ff101a1a0c70d8c614a453881814120b9
parentd5671a6a24066dbf717ed83c143df7145377756c
greybus: vibrator-gb: convert to use gb_operation_sync

This converts the vibrator protocol driver to use gb_operation_sync,
removing the hand-rolled version of the same function, as well as
removing an open-coded version for a request when turning on the
vibrator motor.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/vibrator-gb.c