linux/drivers/pinctrl/mvebu
Sebastian Hesselbarth 8d898fd596 pinctrl: mvebu: count unnamed controls and allocate name buffer
pinctrl-mvebu allows SoCs to pass unnamed controls that will get an
auto-generated name of "mpp<PIN#>". Currently, we are allocating name
buffers on a per-control basis while looping over passed controls.
This counts the total number of unnamed controls and allocates a
global name buffer instead. The new buffer is then used while assigning
controls to pinctrl groups later.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-02-25 18:34:34 +01:00
..
Kconfig
Makefile
pinctrl-armada-370.c pinctrl: mvebu: remove redundant of_match_ptr 2013-10-23 10:55:04 +02:00
pinctrl-armada-xp.c pinctrl: mvebu: remove redundant of_match_ptr 2013-10-23 10:55:04 +02:00
pinctrl-dove.c pinctrl: mvebu: remove redundant of_match_ptr 2013-10-23 10:55:04 +02:00
pinctrl-kirkwood.c pinctrl: mvebu: remove redundant of_match_ptr 2013-10-23 10:55:04 +02:00
pinctrl-mvebu.c pinctrl: mvebu: count unnamed controls and allocate name buffer 2014-02-25 18:34:34 +01:00
pinctrl-mvebu.h