greybus: gpio: remove unnecessary explicit cast

Remove unnecessary explicit cast of line value.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index 8384ad17..e0a871d 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -477,7 +477,7 @@
 	ret = gb_gpio_get_value_operation(gb_gpio_controller, which);
 	if (ret)
 		return ret;
-	return (int)gb_gpio_controller->lines[which].value;
+	return gb_gpio_controller->lines[which].value;
 }
 
 static void gb_gpio_set(struct gpio_chip *chip, unsigned offset, int value)