]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: exynos: Improve coding style
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 30 Nov 2023 20:13:46 +0000 (14:13 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 9 Jan 2024 15:59:28 +0000 (10:59 -0500)
Style commit, no functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/pinctrl/exynos/pinctrl-exynos.c
drivers/pinctrl/exynos/pinctrl-exynos.h

index 898185479ba3e5ff841dfd596d3d41c7bfad872e..995a3a0ee5fd6b459e63390e8ee33042b773d41e 100644 (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)
index cbc5174b48cb57ddc233d73f767fa54d1dc1cd94..6b19f196bc3a8d9de48d7c86dd869ed2888e71d4 100644 (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                    \
        }