/* This call will set the mode for the @gpio to output. It will set the gpio pin low if value is 0 otherwise it will be high.  */
static int msp71xx_exd_direction_output(struct gpio_chip *chip, unsigned offset, int value)
/* This call will set the mode for the @gpio to output. It will set the gpio pin low if value is 0 otherwise it will be high.  */
static int msp71xx_exd_direction_output(struct gpio_chip *chip, unsigned offset, int value)
{
	struct msp71xx_exd_gpio_chip *msp71xx_chip =
	    to_msp71xx_exd_gpio_chip(chip);
	msp71xx_exd_gpio_set(chip, offset, value);
	__raw_writel(1 << MSP71XX_CFG_OUT_OFFSET(offset), msp71xx_chip->reg);
	return 0;
}