diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2016-09-07 09:12:11 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-09-12 11:05:03 +0200 |
commit | 332e99d5ae4056523bcb24ab16cd7a41474c4807 (patch) | |
tree | 95c9739de010ba9960924b50a0b4dbb1fffb8f4e /drivers/mfd/sm501.c | |
parent | 5d2f1d6ef9de5edfea04ffad47703a28bfa21690 (diff) |
gpio/gpiolib: Forbid irqchip default trigger if probed over DT
Using a default trigger is a bad idea if using DT to configure
interrupts, as the device's interrupt specifier will always contain
the trigger configuration.
Let's warn about that particular situation, and revert to not
having a default. Hopefully, the couple of drivers still using
this feature will quickly be fixed.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions