[PATCH 5/5] pinctrl: imx: Use struct type for pins
Linus Walleij
linus.walleij at linaro.org
Fri Aug 16 08:43:36 EDT 2013
On Fri, Aug 16, 2013 at 8:37 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> From: Sascha Hauer <s.hauer at pengutronix.de>
> Date: Sun, 28 Jul 2013 16:29:22 +0200
> Subject: [PATCH] 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 at pengutronix.de>
Thanks, this version applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list