From patchwork Tue Mar 29 19:22:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 8690121 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A05E99F36E for ; Tue, 29 Mar 2016 19:32:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D3D012026F for ; Tue, 29 Mar 2016 19:32:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6772020272 for ; Tue, 29 Mar 2016 19:32:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757516AbcC2Tce (ORCPT ); Tue, 29 Mar 2016 15:32:34 -0400 Received: from gagarine.paulk.fr ([109.190.93.129]:55922 "EHLO gagarine.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757853AbcC2Tcc (ORCPT ); Tue, 29 Mar 2016 15:32:32 -0400 Received: by gagarine.paulk.fr (Postfix, from userid 65534) id 553C920BA7; Tue, 29 Mar 2016 21:23:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id D65512018A; Tue, 29 Mar 2016 21:22:45 +0200 (CEST) From: Paul Kocialkowski To: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Tony Lindgren , Dmitry Torokhov , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Paul Kocialkowski Subject: [PATCH 8/8] input: twl-pwrbutton: Rename interrupt routine for better consistency Date: Tue, 29 Mar 2016 21:22:21 +0200 Message-Id: <1459279341-17389-8-git-send-email-contact@paulk.fr> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1459279341-17389-1-git-send-email-contact@paulk.fr> References: <1459279341-17389-1-git-send-email-contact@paulk.fr> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This renames the twl-pwrbutton interrupt routing from powerbutton_irq to twl_pwrbutton_irq, for better consistency with the driver name. Signed-off-by: Paul Kocialkowski --- drivers/input/misc/twl-pwrbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/twl-pwrbutton.c b/drivers/input/misc/twl-pwrbutton.c index a7bc8ad..ced702a 100644 --- a/drivers/input/misc/twl-pwrbutton.c +++ b/drivers/input/misc/twl-pwrbutton.c @@ -34,7 +34,7 @@ #define TWL4030_STS_HW_CONDITIONS 0x0f #define TWL6030_STS_HW_CONDITIONS 0x21 -static irqreturn_t powerbutton_irq(int irq, void *_pwr) +static irqreturn_t twl_pwrbutton_irq(int irq, void *_pwr) { struct input_dev *pwr = _pwr; int err; @@ -84,7 +84,7 @@ static int twl_pwrbutton_probe(struct platform_device *pdev) REG_INT_MSK_STS_A); } - err = devm_request_threaded_irq(&pwr->dev, irq, NULL, powerbutton_irq, + err = devm_request_threaded_irq(&pwr->dev, irq, NULL, twl_pwrbutton_irq, IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | IRQF_ONESHOT, "twl_pwrbutton", pwr);