diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-31 17:05:12 +0900 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-31 12:40:38 +0200 |
| commit | fc78a56631d13901dd8bac5efb46e8fdcd89976b (patch) | |
| tree | 129599977215b09da52c470848562b8ddde9349e /net/lapb/lapb_iface.c | |
| parent | 4109508a85f5f51b3dcb1fb53674eec2beac60e1 (diff) | |
pinctrl: uniphier: allocate struct pinctrl_desc in probe function
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@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
