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

From: Linus Walleij
Date: Tue May 31 2016 - 06:41:30 EST

On Tue, May 31, 2016 at 10:05 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>

Patch applied.

Linus Walleij