[PATCH 06/17] pinctrl: uniphier: allocate struct pinctrl_desc in probe function

Linus Walleij linus.walleij at linaro.org
Tue May 31 03:41:22 PDT 2016


On Tue, May 31, 2016 at 10:05 AM, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:

> Currently, every SoC driver defines struct pinctrl_desc statically,
> i.e. it consumes memory footprint even if it is not probed.
>
> In multi-platform, many pinctrl drivers are linked (generally as
> built-in objects), although only one of them is actually used.
> So, it is reasonable to allocate memory dynamically where possible.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list