Received: by 10.213.65.68 with SMTP id h4csp1195591imn; Wed, 21 Mar 2018 05:11:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELt2aqJZuPLCyB1IgK1vQetkSAFowFUCtrfu2QUQQngitPrA6WWlC+JT0isVfvacNC+LQ5SP X-Received: by 10.101.74.15 with SMTP id s15mr14822198pgq.382.1521634291716; Wed, 21 Mar 2018 05:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521634291; cv=none; d=google.com; s=arc-20160816; b=aJnjnCxNmbkBVykAx5V14GraHRlYDLdmBw9HJbn1ZHkacl2d51GMpgss+/jBS9PpZN jDHLgnrget2GV9avzDb9X7nlecAOgp/E/mE3wd9HF7ZLDp6151ChJopuaSQT+CvyCWcs sUnHhFmeos3phDfMKFVoCYQQTJ2iWMh+XErD4HaRNd6Ez0nhA3uLvCyuLg6Cj95ckmTi kuxUYU4IY5QdblTYxwZi3kn22khGBbZoMJRKQEfYiqjdK6H30vXWd/ZNQ3FQgYWJIdYR XEa9ozA2WRYMObabhh2Ow2hJoutHWSaacVrLz6lV5Wbn7DO89D5tzzCd7SbE0Kyqmlw7 r2RA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=o4bFAkPb7+BCIjOdtgFh0RXFcPMLEdFseIw1LpWxseI=; b=QvjJ5f8PWw2hV99BHO1jBZqalbNr2XTHJDEqE7a/m+oIOVUYGAMylKH4a45ZOt+w1q GeoFPPHcCFWn65lvp5acabOyaV+js9Lk3tYnlMBEd0RTutPShb6z5Lzq2wSJK+XKGNEM xWVVIPTej5AhUCl7bg8m0jw8/If25GKAp9JnPKJRb5rzyDul5Al2arHQ3rZu6ZL04RbV qAKp8P0LZv6sYtNBW1Dm/YISiSblYDwGuciv90oKIdGWy0spg6b2Bt0fA5cM2fCFIpS8 11yk1AsrNdruY5LhQrgjyxClalihNVIcQjeIC/mTRCEaql2zg7Ia3kH6pErGBL8vR+/9 b3Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=0VEh7Tc9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4-v6si3718353plo.128.2018.03.21.05.11.17; Wed, 21 Mar 2018 05:11:31 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=0VEh7Tc9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751976AbeCUMJM (ORCPT + 99 others); Wed, 21 Mar 2018 08:09:12 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:42243 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751820AbeCUMIj (ORCPT ); Wed, 21 Mar 2018 08:08:39 -0400 Received: by mail-wr0-f193.google.com with SMTP id s18so4929125wrg.9 for ; Wed, 21 Mar 2018 05:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o4bFAkPb7+BCIjOdtgFh0RXFcPMLEdFseIw1LpWxseI=; b=0VEh7Tc98J3LdbPqwuH7ZIeoB5G/4RaK3HoLZBO80letCuMDP3Pn2hGHZXFx9PkW/9 9eGoTTZyntxBHbA2u/6oduYoK7Jwpz90p2ej+A9tHku/1FUioHId9WccG8DzsdlsN/Xo hujL1naJ8oICS1jwDYVYp84uBX04m7Kjw4VcgVeFNE6XlEKS50V0M1rH6lnn5ISlLz/z QlyXIy7hjhxt/4tpc9G/ZftqndDTB6o8oYOXUPLerlGmbLdUEoGkwM6hUehtGmlm+zh4 fWq+JhpxX955f/qoECIPgjX3+5H4Dq9lWG875fa0Pr7sDN9kTzoadLwHItey/m9kw5pI cAtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=o4bFAkPb7+BCIjOdtgFh0RXFcPMLEdFseIw1LpWxseI=; b=VuQt8sbTOS8u5UlbmyJeAt/yQ5jiFpJT5bMRba0MF4SVgzppVzb38iN2eg4iubiU+Y xSJzIi76eJDVXu7Z9WC+i9/jMNTE8PYWHFAgAoUikJcm0FPjWlPkN7c5P/wCEmn900yl /ceaw+Y5C2zkjOAcODbc9xMRH2pvYWcyZV+6CXLSKI1jxVPk0i12dX/KJgn5rmGxO2qR l1l8xwzE0KGUmj1Rs5XOGbEn8yq0d/RCK+CR1OPMUTvRYmhmvDO/G8VV4h00S/y2IZRl y8BpExvabCAQfV0eA2qSLql+z6rplyVwN008Nadf8+6sMJm9Qg+QTL/ZAFg+tDWWG7ns 15ZQ== X-Gm-Message-State: AElRT7Eu2f+KkmZyJwJ03gXcavzw4d8fo10AgEF/RdmxzwQlLlUK8lCH F84r02kRp+Yt0gxXgv0rpIqe0Q== X-Received: by 10.223.172.226 with SMTP id o89mr4484928wrc.264.1521634118636; Wed, 21 Mar 2018 05:08:38 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-NIC-1-208-99.w2-15.abo.wanadoo.fr. [2.15.55.99]) by smtp.gmail.com with ESMTPSA id 69sm3871018wmp.36.2018.03.21.05.08.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Mar 2018 05:08:38 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Rob Herring , Mark Rutland , Russell King , David Lechner , Michael Turquette , Stephen Boyd , Ohad Ben-Cohen , Bjorn Andersson , Philipp Zabel Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-remoteproc@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 8/8] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Wed, 21 Mar 2018 13:08:07 +0100 Message-Id: <20180321120807.18032-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180321120807.18032-1-brgl@bgdev.pl> References: <20180321120807.18032-1-brgl@bgdev.pl> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski This code is no longer used. Remove it. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/include/mach/clock.h | 21 --------------------- drivers/clk/davinci/psc.c | 18 ------------------ 2 files changed, 39 deletions(-) delete mode 100644 arch/arm/mach-davinci/include/mach/clock.h diff --git a/arch/arm/mach-davinci/include/mach/clock.h b/arch/arm/mach-davinci/include/mach/clock.h deleted file mode 100644 index 42ed4f2f5ce4..000000000000 --- a/arch/arm/mach-davinci/include/mach/clock.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * arch/arm/mach-davinci/include/mach/clock.h - * - * Clock control driver for DaVinci - header file - * - * Authors: Vladimir Barinov - * - * 2007 (c) MontaVista Software, Inc. This file is licensed under - * the terms of the GNU General Public License version 2. This program - * is licensed "as is" without any warranty of any kind, whether express - * or implied. - */ -#ifndef __ASM_ARCH_DAVINCI_CLOCK_H -#define __ASM_ARCH_DAVINCI_CLOCK_H - -struct clk; - -int davinci_clk_reset_assert(struct clk *c); -int davinci_clk_reset_deassert(struct clk *c); - -#endif diff --git a/drivers/clk/davinci/psc.c b/drivers/clk/davinci/psc.c index 063df62381ea..75c4bc6f23e3 100644 --- a/drivers/clk/davinci/psc.c +++ b/drivers/clk/davinci/psc.c @@ -295,24 +295,6 @@ static int davinci_lpsc_clk_reset(struct clk *clk, bool reset) return 0; } -/* - * REVISIT: These exported functions can be removed after a non-DT lookup is - * added to the reset controller framework and the davinci-rproc driver is - * updated to use the generic reset controller framework. - */ - -int davinci_clk_reset_assert(struct clk *clk) -{ - return davinci_lpsc_clk_reset(clk, true); -} -EXPORT_SYMBOL(davinci_clk_reset_assert); - -int davinci_clk_reset_deassert(struct clk *clk) -{ - return davinci_lpsc_clk_reset(clk, false); -} -EXPORT_SYMBOL(davinci_clk_reset_deassert); - static int davinci_psc_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) { -- 2.16.1