Searched refs:men_z127_gpio (Results 1 – 1 of 1) sorted by relevance
32 struct men_z127_gpio { struct133 struct men_z127_gpio *men_z127_gpio; in men_z127_probe() local137 men_z127_gpio = devm_kzalloc(dev, sizeof(struct men_z127_gpio), in men_z127_probe()139 if (!men_z127_gpio) in men_z127_probe()143 if (IS_ERR(men_z127_gpio->mem)) { in men_z127_probe()145 return PTR_ERR(men_z127_gpio->mem); in men_z127_probe()148 men_z127_gpio->reg_base = ioremap(men_z127_gpio->mem->start, in men_z127_probe()168 ret = gpiochip_add_data(&men_z127_gpio->gc, men_z127_gpio); in men_z127_probe()179 iounmap(men_z127_gpio->reg_base); in men_z127_probe()187 struct men_z127_gpio *men_z127_gpio = mcb_get_drvdata(mdev); in men_z127_remove() local[all …]