Re: [PATCH 01/61] gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove

From: Andrew Lunn
Date: Mon Feb 22 2016 - 09:32:52 EST


> +/**
> + * 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