Thread (31 messages) 31 messages, 2 authors, 2016-05-31

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

From: Linus Walleij <hidden>
Date: 2016-05-31 10:41:27
Also in: linux-gpio, lkml

On Tue, May 31, 2016 at 10:05 AM, Masahiro Yamada
[off-list ref] 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 <redacted>
Patch applied.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help