greybus: get rid of a weird idiom
authorAlex Elder <elder@linaro.org>
Tue, 23 Sep 2014 17:46:33 +0000 (12:46 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 24 Sep 2014 03:40:29 +0000 (20:40 -0700)
commit217b870e99ce68b868db08f4257c6f463abddd0c
tree10c60cb08b6bd4d481f7ce3f24b96bd9e788ce06
parent380f6bddc900b9baba8163e5c5f60eabe712f7d0
greybus: get rid of a weird idiom

It strikes me as strange to add one to a value while checking to see
if it exceeds a maximum.

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