summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sirf
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-07-28 16:29:22 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-08-16 14:43:56 +0200
commit8f903f8a342e466f3da33b21ae60f1b11626b81a (patch)
treec7a12a3a2d8dbfdc368242485e559afdd7a484c2 /drivers/pinctrl/sirf
parent7ea46e0f9df44ce3dea5a54f7c182f98eeef7bee (diff)
downloadop-kernel-dev-8f903f8a342e466f3da33b21ae60f1b11626b81a.zip
op-kernel-dev-8f903f8a342e466f3da33b21ae60f1b11626b81a.tar.gz
pinctrl: imx: Use struct type for pins
The i.MX pinctrl driver uses 5 different arrays for storing the informations for pins. This requires five allocations. Instead, use a struct type which is more cache friendly, readable and requires less allocations. One array of integers is still needed since the pinctrl framework forces us to maintain it. This also adds checks whether the allocations are succesful which were missing. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sirf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud