/* It will return 0 if gpio value is low and other if high.  */
static int msp71xx_exd_gpio_get(struct gpio_chip *chip, unsigned offset)
/* It will return 0 if gpio value is low and other if high.  */
static int msp71xx_exd_gpio_get(struct gpio_chip *chip, unsigned offset)
{
	struct msp71xx_exd_gpio_chip *msp71xx_chip =
	    to_msp71xx_exd_gpio_chip(chip);
	const unsigned bit = MSP71XX_READ_OFFSET(offset);
	return __raw_readl(msp71xx_chip->reg) & (1 << bit);
}