From patchwork Thu Aug 9 15:57:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1302341 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 17750DFF7B for ; Thu, 9 Aug 2012 16:45:22 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SzVml-0000Pl-RY; Thu, 09 Aug 2012 16:40:36 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SzV75-0000LU-9l for linux-arm-kernel@lists.infradead.org; Thu, 09 Aug 2012 15:57:35 +0000 Received: by weyr3 with SMTP id r3so426228wey.36 for ; Thu, 09 Aug 2012 08:57:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=cPqeWjgrvU9nriYw76TwpwLCrrVwoWFhEFy12mKaPdg=; b=VEKy33U3lJYWzcxi/PZkpgPZgwO/8Ko8Am5pyJvm453i7qvNkX9qT6zXe9wPbI6u1u RQr6HgsK3Yz95b8WoCO3g/SbBTTskSfR69+L+Fbrge4i7wwLYdulHpFS8+9RiAnSso2j qtYO7DPgaJLGvAzSej12h7k5yzHFXjQLJJJ5pavQTz5h5D6N2lFAcXNBR8FL1z5NVDgS QqVZIv/vc7Za3PJdj5m71PPQZyIFCe/sBxS9csJXssrYRE3u3wCOG0kK87Cw1BiNFHRH TjzetOxwExWhVXcbVHbjcGqTfDa7zUS4LVoC/dF/9IqGpHv8HGuksHeakqbZk3Vhryz0 OKcQ== Received: by 10.216.195.143 with SMTP id p15mr6287550wen.167.1344527849853; Thu, 09 Aug 2012 08:57:29 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id j6sm3557376wiy.4.2012.08.09.08.57.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:57:29 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] drivers/rtc/rtc-ab8500.c: Revoke Device Tree enablement Date: Thu, 9 Aug 2012 16:57:08 +0100 Message-Id: <1344527828-6283-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344527828-6283-1-git-send-email-lee.jones@linaro.org> References: <1344527828-6283-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlGVbT8yGDt6h5rVcL2JC0rnTy4/L+J6CA3R9Xgm7abdKPlT8mHX5vUdDjUujRUICb/8Ubi X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Alessandro Zummo , linus.walleij@stericsson.com, rtc-linux@googlegroups.com, arnd@arndb.de, STEricsson_nomadik_linux@list.st.com, Lee Jones X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org All AB8500 devices are now registered via MFD core, so Device Tree capability is no longer required for probing. Here we pull the DT match table to ensure we're no longer probed during Device Tree start-up. CC: Alessandro Zummo CC: rtc-linux@googlegroups.com Signed-off-by: Lee Jones Acked-by: Linus Walleij --- drivers/rtc/rtc-ab8500.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index bf3c2f6..2e5970f 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c @@ -462,16 +462,10 @@ static int __devexit ab8500_rtc_remove(struct platform_device *pdev) return 0; } -static const struct of_device_id ab8500_rtc_match[] = { - { .compatible = "stericsson,ab8500-rtc", }, - {} -}; - static struct platform_driver ab8500_rtc_driver = { .driver = { .name = "ab8500-rtc", .owner = THIS_MODULE, - .of_match_table = ab8500_rtc_match, }, .probe = ab8500_rtc_probe, .remove = __devexit_p(ab8500_rtc_remove),