From patchwork Fri Mar 30 15:28:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10317863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A8A3260212 for ; Fri, 30 Mar 2018 15:30:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E2932A5EA for ; Fri, 30 Mar 2018 15:30:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 758202A5EB; Fri, 30 Mar 2018 15:30:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB9032A5E0 for ; Fri, 30 Mar 2018 15:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752525AbeC3P3u (ORCPT ); Fri, 30 Mar 2018 11:29:50 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54017 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbeC3P3L (ORCPT ); Fri, 30 Mar 2018 11:29:11 -0400 Received: by mail-wm0-f68.google.com with SMTP id p9so16064116wmc.3 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=fYO8GDhjndPhwc4DAA4u+zO8dWoaHMp0ivsZoBu7RntK8j7xgFmxGK0nIiAUXzUCLQ 6v0zvkKLhXpFGhzo8CIs4N7BBHmEUaBYGifQJechyBStHid1EqNsQFZfxE9p2pVCTDhA EuqnvSRzuuBFDihO0L5PTwysV+E20n8qx+sPIpqIA84GZ78Rar/3ksBoaMiaRzC9bbcA 1y76aDbYD1usCE5LP5rSmKfMeFe6XchtI/Bu+8sl5oItmgKKCqLXPzNS8m+HBI3FwFCf nLt+0m3bBjPbSuhiVaCz5fhVP700cNONhvkUw8BmOfaxeICNGzNtOTFB5HeEHDBxgCbf ac6w== X-Gm-Message-State: AElRT7HLAepeVkbYO5Vy1ZrlwAQEo1Io+OL0l/4+YsnaPxpjXZ2jYghY xjzkdWqRdnv34LnJgOPNsuK56Q== X-Google-Smtp-Source: AIpwx4/gedtB6GolyoLCOEw1f4f92l+e84TWlFcp4oBA1UEhTmvrRxd191WfL3xkWTLOXBn9l/Aqng== 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-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski This code is no longer used. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner Acked-by: Stephen Boyd --- 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) {