From patchwork Thu Sep 20 12:12:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11548 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 72B1D1B4E37 for ; Thu, 20 Sep 2012 12:13:26 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 56D7DA1922F for ; Thu, 20 Sep 2012 12:13:24 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so2722108iej.11 for ; Thu, 20 Sep 2012 05:13:24 -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=SwNg9qQSbSiVkFrjkQThD+QC2EloUOm8+L/khIu7QFA=; b=APTJDdqR5fVdWkohbYz1mvY0fajW0s/0EVfF1r8a92NXfqRqPtOr+Qb1gr7gCgmBM/ nYlGc2PYPKBJ72fHVdMS99wFEpczZv+EXOdLz2OlCqr+3GEesj8dUdNP8KW/Qfj5thAi QBYUMiipPnfndWO3Vo4PvCd3yxoO4QKZ8Y6RXU2K/x24pWo9rxdjbL4aZNihwpq6SHMq EfnZwVOYjN6jMgJnwlvUpiyEYNY1sFzN6tyd+W+9RBHX7vwceudWvwpPhHkMh9t1tqzA ub25s3LDhKp2KutZnr4lll+h6Us6sNqB5RwTd2XostsuIpbD6MT9Ttr3UwPzHdlE4gEr cIxA== Received: by 10.42.84.69 with SMTP id k5mr1274750icl.5.1348143204068; Thu, 20 Sep 2012 05:13:24 -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.232 with SMTP id ex8csp71608igc; Thu, 20 Sep 2012 05:13:23 -0700 (PDT) Received: by 10.180.90.201 with SMTP id by9mr5453441wib.5.1348143202797; Thu, 20 Sep 2012 05:13:22 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id d10si41848223wiy.36.2012.09.20.05.13.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:22 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 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-wg0-f50.google.com with SMTP id 16so1635552wgi.31 for ; Thu, 20 Sep 2012 05:13:22 -0700 (PDT) Received: by 10.180.91.1 with SMTP id ca1mr5650391wib.8.1348143202263; Thu, 20 Sep 2012 05:13:22 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id w7sm32394460wiz.0.2012.09.20.05.13.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:21 -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, olof.johansson@gmail.com, Lee Jones , Alessandro Zummo , rtc-linux@googlegroups.com Subject: [PATCH 11/32] drivers/rtc/rtc-ab8500.c: Revoke Device Tree enablement Date: Thu, 20 Sep 2012 14:12:29 +0200 Message-Id: <1348143170-2130-12-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> References: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkYfiV5YFnHcnGMNrEdOsRfeFvTavuKynK15KCyV6GXpw9prc369d1rB07oCIxdLuGhKA6s 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 Acked-by: Linus Walleij 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),