mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
pinctrl: tegra: reduce size of data table fields
The range of npins and function ID values is small enough to fit into a u8. Use this type rather than unsigned to shrink the pinmux data tables. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
6240d691be
commit
0298fc3e1b
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ struct tegra_function {
|
|||
struct tegra_pingroup {
|
||||
const char *name;
|
||||
const unsigned *pins;
|
||||
unsigned npins;
|
||||
unsigned funcs[4];
|
||||
u8 npins;
|
||||
u8 funcs[4];
|
||||
s16 mux_reg;
|
||||
s16 pupd_reg;
|
||||
s16 tri_reg;
|
||||
|
|
Loading…
Reference in a new issue