mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
pinctrl: samsung: Remove legacy API for handling external wakeup interrupts mask
Remove the legacy, ugly API of exposing the static value of external wakeup interrupts mask, because all arch-machine users where converted to use generic implementation from pinctrl driver. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Cc: Tomasz Figa <tomasz.figa@gmail.com> Cc: Sylwester Nawrocki <snawrocki@kernel.org> Acked-by: Tomasz Figa <tomasz.figa@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
b6e5531c0f
commit
b45eb4084b
1 changed files with 2 additions and 10 deletions
|
|
@ -325,13 +325,6 @@ err_domains:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static u32 exynos_eint_wake_mask = 0xffffffff;
|
|
||||||
|
|
||||||
u32 exynos_get_eint_wake_mask(void)
|
|
||||||
{
|
|
||||||
return exynos_eint_wake_mask;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int exynos_wkup_irq_set_wake(struct irq_data *irqd, unsigned int on)
|
static int exynos_wkup_irq_set_wake(struct irq_data *irqd, unsigned int on)
|
||||||
{
|
{
|
||||||
struct irq_chip *chip = irq_data_get_irq_chip(irqd);
|
struct irq_chip *chip = irq_data_get_irq_chip(irqd);
|
||||||
|
|
@ -342,10 +335,9 @@ static int exynos_wkup_irq_set_wake(struct irq_data *irqd, unsigned int on)
|
||||||
pr_info("wake %s for irq %d\n", on ? "enabled" : "disabled", irqd->irq);
|
pr_info("wake %s for irq %d\n", on ? "enabled" : "disabled", irqd->irq);
|
||||||
|
|
||||||
if (!on)
|
if (!on)
|
||||||
exynos_eint_wake_mask |= bit;
|
our_chip->eint_wake_mask_value |= bit;
|
||||||
else
|
else
|
||||||
exynos_eint_wake_mask &= ~bit;
|
our_chip->eint_wake_mask_value &= ~bit;
|
||||||
our_chip->eint_wake_mask_value = exynos_eint_wake_mask;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue