Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752865AbaJGBaK (ORCPT ); Mon, 6 Oct 2014 21:30:10 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:43367 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbaJGBaH (ORCPT ); Mon, 6 Oct 2014 21:30:07 -0400 Date: Mon, 6 Oct 2014 18:30:01 -0700 From: Dmitry Torokhov To: Bjorn Andersson Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Grant Likely , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Courtney Cavin Subject: Re: [PATCH 1/2] input: Add Qualcomm PM8941 power key driver Message-ID: <20141007013001.GD39707@dtor-ws> References: <1412644321-27683-1-git-send-email-bjorn.andersson@sonymobile.com> <1412644321-27683-2-git-send-email-bjorn.andersson@sonymobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1412644321-27683-2-git-send-email-bjorn.andersson@sonymobile.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/