Re: [PATCH 1/2] input: Add Qualcomm PM8941 power key driver

From: Dmitry Torokhov
Date: Mon Oct 06 2014 - 21:30:14 EST


Hi Bjorn,

On Mon, Oct 06, 2014 at 06:12:00PM -0700, Bjorn Andersson wrote:
> +
> + rc = devm_request_threaded_irq(&pdev->dev, pwrkey->irq,
> + NULL, pm8941_pwrkey_irq,
> + IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |

Do we need to hard-code IRQ flags like this? I'd rather we respect DT
data.

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/