mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
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:
parent
2f0282922b
commit
7b34206e3f
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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 \
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue