gpio: tps65910: Use correct offset for gpio initialization

Using the correct gpio offset for setting the initial value
of gpio when setting output direction.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

authored by Laxman Dewangan and committed by Grant Likely 94bd2442 265fe02b

Changed files
+1 -1
drivers
+1 -1
drivers/gpio/gpio-tps65910.c
··· 52 52 struct tps65910 *tps65910 = container_of(gc, struct tps65910, gpio); 53 53 54 54 /* Set the initial value */ 55 - tps65910_gpio_set(gc, 0, value); 55 + tps65910_gpio_set(gc, offset, value); 56 56 57 57 return tps65910_set_bits(tps65910, TPS65910_GPIO0 + offset, 58 58 GPIO_CFG_MASK);