Searched refs:ppc4xx_gc (Results 1 – 1 of 1) sorted by relevance
163 struct ppc4xx_gpio_chip *ppc4xx_gc; in ppc4xx_add_gpiochips() local167 ppc4xx_gc = kzalloc(sizeof(*ppc4xx_gc), GFP_KERNEL); in ppc4xx_add_gpiochips()168 if (!ppc4xx_gc) { in ppc4xx_add_gpiochips()173 spin_lock_init(&ppc4xx_gc->lock); in ppc4xx_add_gpiochips()175 mm_gc = &ppc4xx_gc->mm_gc; in ppc4xx_add_gpiochips()184 ret = of_mm_gpiochip_add_data(np, mm_gc, ppc4xx_gc); in ppc4xx_add_gpiochips()190 kfree(ppc4xx_gc); in ppc4xx_add_gpiochips()