Received: by 10.213.65.68 with SMTP id h4csp446553imn; Fri, 30 Mar 2018 08:31:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx48S3YI/f00ET3YzDB2fvCXylhcrD+fDa5esX9DpSAvs8aw2lDvK/M63sFXwOm2wIESpHO9q X-Received: by 2002:a17:902:107:: with SMTP id 7-v6mr6107497plb.374.1522423903586; Fri, 30 Mar 2018 08:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522423903; cv=none; d=google.com; s=arc-20160816; b=LS3mo5HqReddPeQD8sCpkJLneADvhBY+/WYJavwvZ+7NzmkuCbDA4yr0yvoEOoCFTD Crh3h8L/XccK0CdDLp9vMUwYLqOS++MWQozj6xlE7u26+6h4joyl4QN36Zrmab2oxdvx pzEvSDgwN0AzABcJqsxrerNIebwZtaHE0pw5x4WQsP/gUPMNphIM4nCCp4mG3GNoR90A gdfre6sHSJ0Cb3JmjMthUzp8urGdMaDwVdKfrQl7fkq/dKnUYzcxS7DzalxcsmWHOAeX z9UXHzUk2tYfdD3KU81rrgjlmQrZoH3UuP7EVDdvU3N4WK24cvJw4+FzYUWl37B2Uved A4mg== 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=zagwCe0WhTuJKVQQcYVk/O5pDkgE5SPV6a+z1byov/0=; b=xmJc/h9D3DdlrK1H5bbnPIcxvRy4gxJxP0b+wtM7wjWPJ862tLWgaH1tmmro+A4yTU 7BfYjc+CaDHkdOOFIlPPA38oNSKS3xm1dv2ED3/mmf+cWx3wSCVQHJWYpCJUsb84tJcl +Q3dT6vdRFKVmN0DxvRDx7evuKTpHVJBrvgVGL9hD/pss5JWGyT7FQws110/Cg5JGNER 5DN+XbUsoLE3pW8+C+xbbeyDvIKImIyTcMnsLulUxyr/hgiyYzzZmk8LO0owlqyMy9CB C3PC0vSmLFjOW9wvhXrr44bovGlfSlQWb95S07ENc713i82fyAQRl5ZSM6lpzWr6Vlsn NSBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=EZ1CunuI; 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 p15si5668421pgn.17.2018.03.30.08.31.28; Fri, 30 Mar 2018 08:31:43 -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=EZ1CunuI; 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 S1752547AbeC3P3u (ORCPT + 99 others); Fri, 30 Mar 2018 11:29:50 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:50882 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752238AbeC3P3L (ORCPT ); Fri, 30 Mar 2018 11:29:11 -0400 Received: by mail-wm0-f67.google.com with SMTP id l201so16101406wmg.0 for ; Fri, 30 Mar 2018 08:29:11 -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=zagwCe0WhTuJKVQQcYVk/O5pDkgE5SPV6a+z1byov/0=; b=EZ1CunuIvdXkanSusuyJO404lypuqff+uSgn+1AOdU1kwg/F5EG0KbQ61JNmN7Ymp3 etGWFAVREv0Jtk1CvPTvzNsoaBKJI/2gEqTMtVFy+Z5y22UUhRxaDVJFuOGcmIfp2uGJ gn7MxaQRhljw1TydseAWFrA7yA72D1b5/cTXc7KBK22Y2TRA2c+UMDtAXBplL7cjOf/e Hkgofm+3rLgvp97WgffyL0dc6sLfh78Uz1Ym84sTMrQVRPhPK9OFv6aXwLoXx4gwCxQm 8Jr0KHGAx/RpTLDc65xU+X51aBhS4wAfjQngufCfdDp0HczpUs72PyRXzNWQCY4cR/AD TVgA== 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=zagwCe0WhTuJKVQQcYVk/O5pDkgE5SPV6a+z1byov/0=; b=RdHvB54VIzKYSPoIx5PglRJbnB/7zNADsFJUYvlC6x1U8mOuAUuET937JE6cOwxwFH gOabguEFcyIIWJXVDlabK2OJxw24qj3mL7OEWnko5luicni/LSHIwTG/fE2JuZ4/u8mP K8owt8VxCMw0c2VLsjF/sUt5/tKA5BuMv35Hx21ZqD+m8ghJkfUS1HFzKx6hLlOGLdFy PznBjK/5Wxw2sxGX/w6ofx6/TDoVLrbS/7MA3mxIL70TBsN0UuNfzT3Raq3z5rdvccya ViYv0pk2h4u5Hkp0cjjVuf2Et19MCBRTjb0qFJY4riWh8DPJgT0NQ+pDKC3ALtpL+3Vq 9M8w== X-Gm-Message-State: AElRT7E52BeTGglI1GdY3768sqyffI98eETo4WuNR+ucVFV362L8MVpw 7gVDhIEYHsjH6qjcjlcZ3OYOHQ== X-Received: by 10.28.178.208 with SMTP id b199mr2674973wmf.125.1522423750501; Fri, 30 Mar 2018 08:29:10 -0700 (PDT) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id n49sm14429881wrn.90.2018.03.30.08.29.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Mar 2018 08:29:09 -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 v5 8/8] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Fri, 30 Mar 2018 17:28:56 +0200 Message-Id: <20180330152856.12297-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180330152856.12297-1-brgl@bgdev.pl> References: <20180330152856.12297-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 Reviewed-by: David Lechner --- 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.3