Received: by 10.213.65.68 with SMTP id h4csp352003imn; Fri, 23 Mar 2018 06:07:49 -0700 (PDT) X-Google-Smtp-Source: AG47ELt+pasgN3Mq9TjbmZ7C0Ig850/ItfxtWzDkw7J6gDFmA4bA4mGxFMGKyxNnnnf7jHAHpmi+ X-Received: by 10.101.75.202 with SMTP id p10mr21226477pgr.339.1521810469883; Fri, 23 Mar 2018 06:07:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521810469; cv=none; d=google.com; s=arc-20160816; b=Jn+PYABunIb9PxSOlfaJPho/iJPG8bvZv6mxd5zjiRX8U4C0wsY404H4zd2cBHAsBf ifBBK1NniFsdhmex8kcAMb3qTq8AfMP6le/eGm5c2xF51A5hQ8pj9iy3Lys9miDQdOOE G+PHZkMC6u9y+YFGphbsrVZwbm8409Hjv4fqg+A+9uWH0/GOT41jxNfbURtL49eDmpEB ChmCq3O90wqhDLYMIkI5NzJ0waVuS7ma4LwMdS8aLlaUPmgNa65PI4iTgVuqdmDnK8pO r08ZehzoTVkN+vqAyEl3bJMEBBnlGt481BWDoSbUcbPh1zZhLJ7PjORBWXQ4bhIQHyhV LCEQ== 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=0m5knTA42RPFbCpqkPeZ1tqlUvUcDFSyXt/ob1iZ3gY=; b=NRAjH/dlTLD9nKK8EaNb7vIYjf1l1Bby8ce/CKxq+LOTtSD+S6yM56T8uUrkO9C25e XChqlzy4SD5QG4cL1y5kxqXttj+YcvzIfwc1TL/4kuEk7vl+1yGR6nhX0TRhLiGPOGVi yWoOHB28JRj48cyu8JIc+r62hstE1wo6zrbFGqeRC9svsRPsw+q6c00RVcAox1yxy6w4 ywMGB3KzlFeyZxf2M9x86569QxZh1eeln1qwOc4U6WT9C0S+M7V3FDBU0/4saWYYlmoI c4MiWhVJs95RjurlXgdV9riD6ZrpbgiW4TVHJTg4SgTpm6Tq/bp31L/3EY0iohBS+vzL szww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=XTMsLQ+u; 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 p20si3421999pfi.345.2018.03.23.06.07.16; Fri, 23 Mar 2018 06:07:49 -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=XTMsLQ+u; 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 S1753141AbeCWNFp (ORCPT + 99 others); Fri, 23 Mar 2018 09:05:45 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36724 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753007AbeCWNFN (ORCPT ); Fri, 23 Mar 2018 09:05:13 -0400 Received: by mail-wm0-f68.google.com with SMTP id x82so3418395wmg.1 for ; Fri, 23 Mar 2018 06:05:12 -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=0m5knTA42RPFbCpqkPeZ1tqlUvUcDFSyXt/ob1iZ3gY=; b=XTMsLQ+uUu2rXUy+Y9LdsgiUN02yttfque9IgWSeorjJ1AcJ1oIq2NQyE0nbb/xDUB jLKS9iSII2DkyLZEYR5PQnBc7sur02MWz3QK4O1hBHa30QEjEE7/n2lfd3RrC/NdSaM0 X/5U27BsDqDFWw1Lm4WsIHuU3tHn2Y83ug5QeTqzjTxE4qV5fcZubnhDFDTf7nA15O7P 4en9MmJlyj2k/scjtFjT4K0t7c1u92CbErU5I59mOtBTl7c0oLuTcsTDEATLHeKXbIXv /8buXnXFrocVEnpO7q9JNbGYiwi3PS4OC5kog7cNh1iMJezYyMM0G3508cw4egWYqcjl 4PPw== 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=0m5knTA42RPFbCpqkPeZ1tqlUvUcDFSyXt/ob1iZ3gY=; b=SgiEu5SFaJQ5vcGI2E6lVX+GLvG/mYXbnIRSxqiOBYRO3YyUQ8ZKyQCH6qHCVaQpEY uotCRKr+vRn3NCsOu7wEt8f24lrJlyTMxAPtXSqBY0+ZXosExVmoy4oxBAI+1KRT5q3F srKxfm4WZT1njpmq8Z7kaEGycyv8mJWX6Uj30klmibSzfaw2E6goYngR1yuL0Lq9xn2k PqGI/rASD+YR8Mn7AJStT5hMwvRLn+NTmoby6jjiARj5K/yVcMgt/85q1nZ7Q4D976ej WWEstt/5G46zFNyfMeWU6PkBCy8av2ceyrdQAELLOzrS6za6bhOGINOXyPH+od3yycAF djXg== X-Gm-Message-State: AElRT7GToEvPDT57JxnidS8GSbsWTDybnCI1Mp6Rn9m6MyMZ9V7JKBvp HcQTQg8W5LNmeApjJTigNFcwFw== X-Received: by 10.28.0.210 with SMTP id 201mr8191281wma.10.1521810311741; Fri, 23 Mar 2018 06:05:11 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-1-7086-217.w90-116.abo.wanadoo.fr. [90.116.254.217]) by smtp.gmail.com with ESMTPSA id x67sm7069964wma.5.2018.03.23.06.05.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 06:05:11 -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 v4 8/8] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Fri, 23 Mar 2018 14:04:55 +0100 Message-Id: <20180323130455.11470-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180323130455.11470-1-brgl@bgdev.pl> References: <20180323130455.11470-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.1