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: 10652 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CB70C23E40 for ; Thu, 9 Aug 2012 15:57:32 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 9A861A18A42 for ; Thu, 9 Aug 2012 15:57:32 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so596648ggn.11 for ; Thu, 09 Aug 2012 08:57:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=cPqeWjgrvU9nriYw76TwpwLCrrVwoWFhEFy12mKaPdg=; b=V5TN57z8C0CqY8PUa/o5M1t60Z+EEPKUsRkDPSx5KiM4RsSBQHW9f15jDSQNAOsYwV XfJcXwwRcPq5X8bhW4sUs1PDmpJfLKy+gxrIxZDUTEDs1xdlOG4Rpapln/ZUEkJGx4Mt eWOVhB6/W5I9tY1py6fKomZQlfshM82xE7PeqregFysWxQtx0vxr+4c5N5aYqAaU96q3 4D+F1LaN2t8i/vw/dgSBAp4tvWkcyrQUqylt1VGgcb3nEZx6YTOb14ifGtDObtTRwcCp 88YsM0/fdxVILY94a+JLpGMzazL7LUMQzXLoWk8mY8QLPCpJXcnUOtVI972k+aN3oe9T ZmNQ== Received: by 10.50.170.3 with SMTP id ai3mr1646140igc.9.1344527851962; Thu, 09 Aug 2012 08:57:31 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.200 with SMTP id ew8csp15712igc; Thu, 9 Aug 2012 08:57:31 -0700 (PDT) Received: by 10.180.109.129 with SMTP id hs1mr4079638wib.0.1344527850514; Thu, 09 Aug 2012 08:57:30 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id z49si2013139wem.70.2012.08.09.08.57.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:57:30 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f172.google.com with SMTP id hm11so386608wib.13 for ; Thu, 09 Aug 2012 08:57:29 -0700 (PDT) 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 Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, Lee Jones , Alessandro Zummo , rtc-linux@googlegroups.com 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: ALoCoQlKl9uSsmcKtBSOMv9oprxOgZ5W89daLylv3df1DJ3vWxVBhd0rJ6Chhhr0s5RV9Dj6sg88 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 --- 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),