Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757168AbZDFQu4 (ORCPT ); Mon, 6 Apr 2009 12:50:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754093AbZDFQub (ORCPT ); Mon, 6 Apr 2009 12:50:31 -0400 Received: from mba.ocn.ne.jp ([122.1.235.107]:51835 "EHLO smtp.mba.ocn.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753566AbZDFQua (ORCPT ); Mon, 6 Apr 2009 12:50:30 -0400 From: Atsushi Nemoto To: Alessandro Zummo Cc: rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: [PATCH] rtc-tx4939: Drop IRQF_SHARED Date: Tue, 7 Apr 2009 01:50:33 +0900 Message-Id: <1239036633-10032-3-git-send-email-anemo@mba.ocn.ne.jp> X-Mailer: git-send-email 1.5.6.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 29 IRQF_SHARED should be used with IRQF_DISABLED. This RTC have dedicated irq line so there is no reason to use IRQF_SHARED. Signed-off-by: Atsushi Nemoto --- drivers/rtc/rtc-tx4939.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-tx4939.c b/drivers/rtc/rtc-tx4939.c index 4ee4857..69085d9 100644 --- a/drivers/rtc/rtc-tx4939.c +++ b/drivers/rtc/rtc-tx4939.c @@ -261,7 +261,7 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev) tx4939_rtc_cmd(pdata->rtcreg, TX4939_RTCCTL_COMMAND_NOP); if (devm_request_irq(&pdev->dev, irq, tx4939_rtc_interrupt, - IRQF_DISABLED | IRQF_SHARED, + IRQF_DISABLED, pdev->name, &pdev->dev) < 0) { return -EBUSY; } -- 1.5.6.3 -- 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/