]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: pwm-gb: convert to use gb_operation_sync
authorGreg Kroah-Hartman <greg@kroah.com>
Mon, 24 Nov 2014 01:45:24 +0000 (17:45 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 24 Nov 2014 20:56:51 +0000 (12:56 -0800)
commitbf2329fd7d2795b9ce7146ca9e7092a7f507ce59
tree5e0d7048030a22cabd38a247ab6ccb1160680bf7
parent5a8b8314db138b9cc59f710a91b291cbe1486001
greybus: pwm-gb: convert to use gb_operation_sync

This converts the PWM protocol driver to use gb_operation_sync, removing
lots of places where the create/send/destroy pattern was being used to
send greybus messages.

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