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: 64644 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp2455302lbc; Wed, 30 Mar 2016 01:16:36 -0700 (PDT) X-Received: by 10.66.235.9 with SMTP id ui9mr10803327pac.135.1459325796745; Wed, 30 Mar 2016 01:16:36 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w88si4724199pfi.231.2016.03.30.01.16.36; Wed, 30 Mar 2016 01:16:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932751AbcC3IQd (ORCPT + 29 others); Wed, 30 Mar 2016 04:16:33 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:34645 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932534AbcC3IPq (ORCPT ); Wed, 30 Mar 2016 04:15:46 -0400 Received: by mail-pf0-f171.google.com with SMTP id x3so36198985pfb.1 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=dNnMn32SliYEPbTf5z9nCFlj0gpoWr6FDnNiiinW2XUMDBY9caiinM6uvTORAHe3q9 452qJXfx35nNLacnECNPBAHY3yLWo3XS+WYZvXha//JGQcNsqXuRpxhPV0tWHuMekpuT 5DjJfBOohJqfd8yOCE+ZB6Af8M3JA9fUFN9Qcx+0H61kNpdJzBGODNZvIroXGQALGvEL kcWqiAv//6/1PFix89DMZzqkiSXm3r42O+T0Yxj58WHwUoBtF4evuPN3kSW6OnyBGiG4 25rJcRh4wpOr+d2a8s8bapQDe0+YrLzsva98rwBjQpenN1owW0N9LznYYd4h/dWHL34y lhXg== X-Gm-Message-State: AD7BkJL0181rhiC+IKkpUhYx3z3B+wMUKh4osWeDilCZgYPOXfsoqkw3U7uEz95/O80Acxyb 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver is removed long back and we don't support this device anymore. Stop adding it. Signed-off-by: Viresh Kumar --- arch/arm/mach-exynos/exynos.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) -- 2.7.1.410.g6faf27b 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)