pinctrl: exynos: Improve coding style

Style commit, no functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
Sam Protsenko 2023-11-30 14:13:46 -06:00 committed by Tom Rini
parent 2f0282922b
commit 7b34206e3f
2 changed files with 3 additions and 2 deletions

View file

@ -57,7 +57,8 @@ static unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name,
/* lookup the pin bank data using the pin bank name */
while (true) {
const struct samsung_pin_ctrl *pin_ctrl = &pin_ctrl_array[pin_ctrl_idx];
const struct samsung_pin_ctrl *pin_ctrl =
&pin_ctrl_array[pin_ctrl_idx];
nr_banks = pin_ctrl->nr_banks;
if (!nr_banks)

View file

@ -27,7 +27,7 @@ struct samsung_pin_bank_data {
#define EXYNOS_PIN_BANK(pins, reg, id) \
{ \
.offset = reg, \
.offset = reg, \
.nr_pins = pins, \
.name = id \
}