[RFC PATCH 06/13] pinctrl: pinconf: Add generic helper function for freeing mappings

2016-06-20 Thread Jon Hunter
On 18/06/16 10:04, Linus Walleij wrote: > On Fri, Jun 17, 2016 at 2:03 PM, Jon Hunter wrote: > >> The pinconf-generic.h file exposes functions for creating generic mappings >> but it does not expose a function for freeing the mappings. Add a function >> for freeing generic mappings. >> >> Signed

[RFC PATCH 06/13] pinctrl: pinconf: Add generic helper function for freeing mappings

2016-06-18 Thread Linus Walleij
On Fri, Jun 17, 2016 at 2:03 PM, Jon Hunter wrote: > The pinconf-generic.h file exposes functions for creating generic mappings > but it does not expose a function for freeing the mappings. Add a function > for freeing generic mappings. > > Signed-off-by: Jon Hunter Looks reasonable. Can I appl

[RFC PATCH 06/13] pinctrl: pinconf: Add generic helper function for freeing mappings

2016-06-17 Thread Jon Hunter
The pinconf-generic.h file exposes functions for creating generic mappings but it does not expose a function for freeing the mappings. Add a function for freeing generic mappings. Signed-off-by: Jon Hunter --- drivers/pinctrl/pinconf-generic.c | 8 include/linux/pinctrl/pinconf-ge