[PATCH 01/61] gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove
From: andrew@lunn.ch (Andrew Lunn)
Date: 2016-02-22 14:32:49
Also in:
linux-gpio, linux-tegra, lkml
From: andrew@lunn.ch (Andrew Lunn)
Date: 2016-02-22 14:32:49
Also in:
linux-gpio, linux-tegra, lkml
+/** + * devm_gpiochip_add_data() - Resource manager piochip_add_data()
^
missing g.
+ * @dev: the device pointer on which irq_chip belongs to. + * @chip: the chip to register, with chip->base initialized + * Context: potentially before irqs will work + * + * Returns a negative errno if the chip can't be registered, such as + * because the chip->base is invalid or already associated with a + * different chip. Otherwise it returns zero as a success code. + * + * The gpio chip automatically be released when the device is unbound.
^
will
Andrew