From patchwork Fri Sep 27 08:17:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 2953361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B4744BFF0B for ; Fri, 27 Sep 2013 08:18:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A82F9202EB for ; Fri, 27 Sep 2013 08:18:24 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 42DDF201EF for ; Fri, 27 Sep 2013 08:18:23 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPTFj-0001Dr-R2; Fri, 27 Sep 2013 08:18:19 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPTFg-0002UZ-P1; Fri, 27 Sep 2013 08:18:16 +0000 Received: from mail-we0-f169.google.com ([74.125.82.169]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPTFb-0002Tb-Ui for linux-arm-kernel@lists.infradead.org; Fri, 27 Sep 2013 08:18:13 +0000 Received: by mail-we0-f169.google.com with SMTP id t60so2325364wes.0 for ; Fri, 27 Sep 2013 01:17:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vx7/VmzIgjaRzLHXIN143bfyilfY2iFeAMDVngw97vg=; b=Pa6XGLxxroY9vwcqPjKpbHC6+FEJSv+97AdLNrfh4ed1UaJFqNwBotRLlqyK/pqfXl CpNZrjIIxD3/3Lovpp0ldfACEFMDf7ia182B4nJkzwSuxQR/BFyTxnsg1YtBaSXhCPHf D/QeCi61//YVPbaywP5WX7j+irVLeMBF2HyfgLrDteSHNVtjFvu8J0dk3eAtnU1dFPJ9 /lJZOsVYFtiLGBCZAe7uvpm5C2S7NlMKTNBMyYb/Fy2QhfBtwAq9fn73F36iugnd9POR sSORApKK/ryK3VWPSba7nv/Iq9xgCeRGDCe3+pL5SYxJgXNKFJEjmy7rBuyyy9hEIWu+ rKIA== X-Gm-Message-State: ALoCoQkjk8ihYDomyvW10N+1BUJiKZRcFKtymBIKh+VZMfPoKGJk59yVJKOIf8Y4lFAZZFy6sR+L X-Received: by 10.180.82.164 with SMTP id j4mr1439673wiy.65.1380269869781; Fri, 27 Sep 2013 01:17:49 -0700 (PDT) Received: from mai.home (AToulouse-654-1-326-179.w86-199.abo.wanadoo.fr. [86.199.213.179]) by mx.google.com with ESMTPSA id b13sm36076254wic.9.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Sep 2013 01:17:48 -0700 (PDT) From: Daniel Lezcano To: michal.simek@xilinx.com Subject: [PATCH 1/2] ARM: zynq: cpuidle: Remove useless compatibility string Date: Fri, 27 Sep 2013 10:17:46 +0200 Message-Id: <1380269867-18336-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130927_041812_097048_0A8A45A0 X-CRM114-Status: GOOD ( 10.65 ) X-Spam-Score: -2.6 (--) Cc: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP All zynq platforms have this compatibility string and there is no any other clone. Signed-off-by: Daniel Lezcano Acked-by: Michal Simek --- drivers/cpuidle/cpuidle-zynq.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/cpuidle/cpuidle-zynq.c b/drivers/cpuidle/cpuidle-zynq.c index 38e03a1..ab6c4b4 100644 --- a/drivers/cpuidle/cpuidle-zynq.c +++ b/drivers/cpuidle/cpuidle-zynq.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include @@ -72,9 +71,6 @@ static struct cpuidle_driver zynq_idle_driver = { /* Initialize CPU idle by registering the idle states */ static int __init zynq_cpuidle_init(void) { - if (!of_machine_is_compatible("xlnx,zynq-7000")) - return -ENODEV; - pr_info("Xilinx Zynq CpuIdle Driver started\n"); return cpuidle_register(&zynq_idle_driver, NULL);