Skip to content

Commit 028e45c

Browse files
thierryredingLinus Walleij
authored andcommitted
pinctrl: tegra: Fix whitespace issues for improved readability
Fix a few whitespace inconsistencies to make the code easier to read. Signed-off-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20200319122737.3063291-5-thierry.reding@gmail.com Tested-by: Vidya Sagar <vidyas@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 7eb42f9 commit 028e45c

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

‎drivers/pinctrl/tegra/pinctrl-tegra194.c‎

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ enum tegra_mux_dt {
5959
{ \
6060
.name = #lid, \
6161
}
62+
6263
static struct tegra_function tegra194_functions[] = {
6364
TEGRA_PIN_FUNCTION(rsvd0),
6465
TEGRA_PIN_FUNCTION(rsvd1),
@@ -70,7 +71,7 @@ static struct tegra_function tegra194_functions[] = {
7071
#define DRV_PINGROUP_ENTRY_Y(r, drvdn_b, drvdn_w, drvup_b, \
7172
drvup_w, slwr_b, slwr_w, slwf_b, \
7273
slwf_w, bank) \
73-
.drv_reg = ((r)), \
74+
.drv_reg = ((r)), \
7475
.drv_bank = bank, \
7576
.drvdn_bit = drvdn_b, \
7677
.drvdn_width = drvdn_w, \
@@ -89,7 +90,7 @@ static struct tegra_function tegra194_functions[] = {
8990
.hsm_bit = -1, \
9091
.mux_bank = bank, \
9192
.mux_bit = 0, \
92-
.pupd_reg = ((r)), \
93+
.pupd_reg = ((r)), \
9394
.pupd_bank = bank, \
9495
.pupd_bit = 2, \
9596
.tri_reg = ((r)), \
@@ -109,20 +110,20 @@ static struct tegra_function tegra194_functions[] = {
109110

110111
#define PINGROUP(pg_name, f0, f1, f2, f3, r, bank, pupd, e_lpbk, \
111112
e_input, e_lpdr, e_od, schmitt_b, drvtype, io_rail) \
112-
{ \
113-
.name = #pg_name, \
114-
.pins = pg_name##_pins, \
115-
.npins = ARRAY_SIZE(pg_name##_pins), \
116-
.funcs = { \
117-
TEGRA_MUX_##f0, \
118-
TEGRA_MUX_##f1, \
119-
TEGRA_MUX_##f2, \
120-
TEGRA_MUX_##f3, \
121-
}, \
122-
PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_lpbk, \
123-
e_input, e_od, \
124-
schmitt_b, drvtype), \
125-
drive_##pg_name, \
113+
{ \
114+
.name = #pg_name, \
115+
.pins = pg_name##_pins, \
116+
.npins = ARRAY_SIZE(pg_name##_pins), \
117+
.funcs = { \
118+
TEGRA_MUX_##f0, \
119+
TEGRA_MUX_##f1, \
120+
TEGRA_MUX_##f2, \
121+
TEGRA_MUX_##f3, \
122+
}, \
123+
PIN_PINGROUP_ENTRY_Y(r, bank, pupd, e_lpbk, \
124+
e_input, e_od, \
125+
schmitt_b, drvtype), \
126+
drive_##pg_name, \
126127
}
127128

128129
static const struct tegra_pingroup tegra194_groups[] = {

0 commit comments

Comments
 (0)