/* xgpio_save_regs - Set initial values of GPIO pins @mm_gc: pointer to memory mapped GPIO chip structure  */
static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc)
/* xgpio_save_regs - Set initial values of GPIO pins @mm_gc: pointer to memory mapped GPIO chip structure  */
static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc)
{
	struct xgpio_instance *chip =
	    container_of(mm_gc, struct xgpio_instance, mmchip);
	out_be32(mm_gc->regs + XGPIO_DATA_OFFSET, chip->gpio_state);
	out_be32(mm_gc->regs + XGPIO_TRI_OFFSET, chip->gpio_dir);
}