From patchwork Wed Mar 30 08:15:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 8693591 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5F23E9F36E for ; Wed, 30 Mar 2016 08:16:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93CC02026F for ; Wed, 30 Mar 2016 08:16:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1FD3B20123 for ; Wed, 30 Mar 2016 08:16:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932674AbcC3IQd (ORCPT ); Wed, 30 Mar 2016 04:16:33 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:36040 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932517AbcC3IPp (ORCPT ); Wed, 30 Mar 2016 04:15:45 -0400 Received: by mail-pf0-f172.google.com with SMTP id e128so14862872pfe.3 for ; Wed, 30 Mar 2016 01:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=R/Qrc8IqkwcNtxZEuV7if0/oeKYvbA1zo8Udh0CqNiE=; b=KSQB/hAOvxf88l3d/U1aRxIeqsOiqjvgQUZWxfUnmzQ5accyXwpwOM9++c9+Uvqc7I Hwgh+2IhGLetR888+OAs0IsjcX7I9K9Hq4vHBj0wso6aOzuPF401BFQIiPgF5x6d7KH4 9eObgA8qjWBULewzIrtrQg3G1blQvl038V1/M= 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:in-reply-to :references:in-reply-to:references; bh=R/Qrc8IqkwcNtxZEuV7if0/oeKYvbA1zo8Udh0CqNiE=; b=B3d6Mnfi7qZX/Ygm1JU9SALrUTwMROM95b9SXY5wwLdwYV4ZZH4PDpALdLek2tp+Uv JUUABmv13TsoxtezhGUdlenTw0zz4dRYXGMNxhShDX6BG9ORJecqP38jMZ9/nXBDwn3/ BCtKJIbylhYTdqSX+LpI7yJrIGecICMG/jeEos1Pgwp3yBfPi/PWUOJHfygD5l21SORV kD+0pX/gKshrAiHFunMnXsbd5uXhyn9V3419cpXNKM/zVmgq6HsmFCrexBg9Etm2Us7w MPLEJI1S0f/Ai4RmXYChZIv07vMXZHzbDE9Wx6RcGAv1GMw35P/Y9GUWCUEcf1xbPDiB kyXw== X-Gm-Message-State: AD7BkJI0/EAKhvdcezcEotIzSwNgfMkTjPQp4KiVTWjVtzTu4nH4ZRIHt1R4ZcVIThWZsbm6 X-Received: by 10.98.31.218 with SMTP id l87mr10837195pfj.101.1459325745153; Wed, 30 Mar 2016 01:15:45 -0700 (PDT) Received: from localhost ([122.172.81.221]) by smtp.gmail.com with ESMTPSA id ll7sm3720778pab.6.2016.03.30.01.15.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Mar 2016 01:15:44 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , arnd.bergmann@linaro.org, Kukjin Kim , Krzysztof Kozlowski Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, kgene.kim@samsung.com, xf@rock-chips.com, heiko@sntech.de, mmcclint@codeaurora.org, Viresh Kumar , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 3/4] ARM: exynos: exynos-cpufreq platform device isn't supported anymore Date: Wed, 30 Mar 2016 13:45:27 +0530 Message-Id: X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 The driver is removed long back and we don't support this device anymore. Stop adding it. Signed-off-by: Viresh Kumar Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/exynos.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index bbf51a46f772..4dfce1069406 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -232,12 +232,8 @@ static void __init exynos_cpufreq_init(void) const struct of_device_id *match; match = of_match_node(exynos_cpufreq_matches, root); - if (!match) { - platform_device_register_simple("exynos-cpufreq", -1, NULL, 0); - return; - } - - platform_device_register_simple(match->data, -1, NULL, 0); + if (match) + platform_device_register_simple(match->data, -1, NULL, 0); } static void __init exynos_dt_machine_init(void)