greybus: get rid of uart request_operation()
authorAlex Elder <elder@linaro.org>
Wed, 19 Nov 2014 23:55:01 +0000 (17:55 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 20 Nov 2014 00:49:57 +0000 (16:49 -0800)
commitdcec19fb1b10b62e02db9e234f0091509545971e
tree7abaefc21686182649d4a8f4557f84eb531ffc2c
parent980c7c509eb36c693576ad342a11455f530db0b9
greybus: get rid of uart request_operation()

In "uart-gb.c", request_operation() function is only used by
get_version().  Since it's not reused, it probably subtracts
rather than adds value.  So just incorporate what it does
into get_version() and get rid of request_operation().

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