From patchwork Wed May 14 01:11:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 4171891 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 617D8BFF02 for ; Wed, 14 May 2014 01:18:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 854822034A for ; Wed, 14 May 2014 01:18:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9734202E5 for ; Wed, 14 May 2014 01:18:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WkNo6-00057r-B4; Wed, 14 May 2014 01:16:30 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WkNlC-0000Wi-7G for linux-arm-kernel@lists.infradead.org; Wed, 14 May 2014 01:13:30 +0000 Received: by mail-pa0-f49.google.com with SMTP id lj1so939757pab.8 for ; Tue, 13 May 2014 18:13:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EmZzRWTNI4bcYkQwsYxBtQfyy+pjZTjgRjAL8lIuNZs=; b=k7Q3Lvv8MXiWc6ehQiTn/UpYs/wYEq9CshPCmVo3kKP4m76+OGU5/y4w7vHOXCTBcz KVLN+ECudBMIIKqJTQLzXQtC1eM65YQ9xOMqWxQF4tEuay26t1XsiNN1w5E2ETotoOen chiChUi8C/to5KOLdGNOoHwWVDieI+mic6jqIq0hLtl3COy8JNdyjAnCzH0ULy81yxyA nlVnr+D4UTiwDI7SD5QAtcauyxG4SHc7XPclb8QyG90Y2YvJGKNYF8voJO+OJGqX/BWm lBhabJMsObaX6AWoTgHiYYUPTKbJHrpFWYI7Sn12nDfG52fUNM0kf71oxkJ65gW8KwgJ grcA== X-Received: by 10.68.171.229 with SMTP id ax5mr388504pbc.125.1400029991033; Tue, 13 May 2014 18:13:11 -0700 (PDT) Received: from localhost.localdomain ([117.213.250.141]) by mx.google.com with ESMTPSA id tg9sm303528pbc.29.2014.05.13.18.13.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 13 May 2014 18:13:09 -0700 (PDT) X-Google-Original-From: Thomas Abraham From: Thomas Abraham To: cpufreq@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 7/8] ARM: Exynos: switch to using generic cpufreq-cpu0 driver Date: Wed, 14 May 2014 06:41:15 +0530 Message-Id: <1400029876-5830-8-git-send-email-thomas.ab@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1400029876-5830-1-git-send-email-thomas.ab@samsung.com> References: <1400029876-5830-1-git-send-email-thomas.ab@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140513_181330_289826_D9BC50B8 X-CRM114-Status: GOOD ( 12.56 ) X-Spam-Score: -0.1 (/) Cc: devicetree@vger.kernel.org, l.majewski@samsung.com, kgene.kim@samsung.com, mturquette@linaro.org, heiko@sntech.de, viresh.kumar@linaro.org, t.figa@samsung.com, rjw@rjwysocki.net, linux-samsung-soc@vger.kernel.org, thomas.ab@samsung.com, shawn.guo@linaro.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=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Thomas Abraham Remove the platform device instantiation for Exynos specific cpufreq driver and add the platform device for cpufreq-cpu0 driver. Signed-off-by: Thomas Abraham Acked-by: Tomasz Figa --- arch/arm/mach-exynos/exynos.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index b32a907..489a495 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -232,7 +232,9 @@ void __init exynos_cpuidle_init(void) void __init exynos_cpufreq_init(void) { - platform_device_register_simple("exynos-cpufreq", -1, NULL, 0); + if (!(of_machine_is_compatible("samsung,exynos5420")) && + !(of_machine_is_compatible("samsung,exynos5440"))) + platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0); } void __init exynos_init_late(void)