Skip to content

Commit c8edb80

Browse files
petegriffinkrzk
authored andcommitted
pinctrl: samsung: rename exynosautov920_retention_data to no_retention_data
To avoid having an exact copy of this struct for gs101 rename it and use it for both SoCs for eint banks. The purpose of this for exynosautov920 and gs101 is to obtain the PMU syscon for writing the calculated WAKEUP_MASK register(s). Signed-off-by: Peter Griffin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 19272b3 commit c8edb80

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/pinctrl/samsung/pinctrl-exynos-arm64.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ static const struct samsung_pin_bank_data exynosautov920_pin_banks7[] = {
14051405
EXYNOSV920_PIN_BANK_EINTG(8, 0x8000, "gpg1", 0x18, 0x24, 0x28),
14061406
};
14071407

1408-
static const struct samsung_retention_data exynosautov920_retention_data __initconst = {
1408+
static const struct samsung_retention_data no_retention_data __initconst = {
14091409
.regs = NULL,
14101410
.nr_regs = 0,
14111411
.value = 0,
@@ -1421,7 +1421,7 @@ static const struct samsung_pin_ctrl exynosautov920_pin_ctrl[] = {
14211421
.eint_wkup_init = exynos_eint_wkup_init,
14221422
.suspend = exynosautov920_pinctrl_suspend,
14231423
.resume = exynosautov920_pinctrl_resume,
1424-
.retention_data = &exynosautov920_retention_data,
1424+
.retention_data = &no_retention_data,
14251425
}, {
14261426
/* pin-controller instance 1 AUD data */
14271427
.pin_banks = exynosautov920_pin_banks1,
@@ -1764,13 +1764,15 @@ static const struct samsung_pin_ctrl gs101_pin_ctrl[] __initconst = {
17641764
.eint_wkup_init = exynos_eint_wkup_init,
17651765
.suspend = gs101_pinctrl_suspend,
17661766
.resume = gs101_pinctrl_resume,
1767+
.retention_data = &no_retention_data,
17671768
}, {
17681769
/* pin banks of gs101 pin-controller (FAR_ALIVE) */
17691770
.pin_banks = gs101_pin_far_alive,
17701771
.nr_banks = ARRAY_SIZE(gs101_pin_far_alive),
17711772
.eint_wkup_init = exynos_eint_wkup_init,
17721773
.suspend = gs101_pinctrl_suspend,
17731774
.resume = gs101_pinctrl_resume,
1775+
.retention_data = &no_retention_data,
17741776
}, {
17751777
/* pin banks of gs101 pin-controller (GSACORE) */
17761778
.pin_banks = gs101_pin_gsacore,

0 commit comments

Comments
 (0)