diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-05-31 11:05:12 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-05-31 13:40:38 +0300 |
commit | fc78a56631d13901dd8bac5efb46e8fdcd89976b (patch) | |
tree | 129599977215b09da52c470848562b8ddde9349e /arch/arm64 | |
parent | 4109508a85f5f51b3dcb1fb53674eec2beac60e1 (diff) | |
download | linux-fc78a56631d13901dd8bac5efb46e8fdcd89976b.tar.xz |
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 'arch/arm64')
0 files changed, 0 insertions, 0 deletions