greybus: loopback: round closest the sixth decimal
authorAlexandre Bailon <abailon@baylibre.com>
Tue, 8 Mar 2016 15:37:37 +0000 (16:37 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 10 Mar 2016 06:31:32 +0000 (22:31 -0800)
commit58a527afff2b27bc912dbb7111d3f23d4f28105b
treeb159c50eed1cadb17c0b23694b6c61101a4cac97
parent89ec14ceaedf887fb666f09e1b768afdc32cb291
greybus: loopback: round closest the sixth decimal

The original round was removed becaused it was rounding
the integer whereas we had decimals.
Round the sixth decimal.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/loopback.c