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

Andrew Lunn andrew at lunn.ch
Mon Feb 22 06:32:31 PST 2016


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



More information about the linux-arm-kernel mailing list