From patchwork Wed Mar 21 12:08:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10299323 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 029AD600F6 for ; Wed, 21 Mar 2018 12:12:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F30AF2983B for ; Wed, 21 Mar 2018 12:12:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E7C082983D; Wed, 21 Mar 2018 12:12:27 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5BFAC2983B for ; Wed, 21 Mar 2018 12:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=CEWo+DAbFDyO8dIaolBeHd9xY8Afccol9JQ8Afx3Xc0=; b=jlpHsL6W4h5rIvqJc8CbhIXT4H GpbUFH6fqimG5zPmbAkGfXFdHOR6OWizNGi736L4/lIu/A5AvwzuhnbIxXj4FfI4ifVUIsRswU5uc SvZO400xKYOzDqyH4ccOFXvw6+4xHOH6iPFSGSpj/dbkw0IozqXl/R05ntyxCmfjc0aiPivdZOanT aHfGZyPtihA0M2z33DtQI3iIvqMtd1f82P2PFyMPoa41782NsvormBitV6yy7xid3YwKhROoS5KKW xkYIt5AHZHbmMF2hbLupoHPcd4sc+2six9OksRc4ChpgW0ESw39FPGtEnBLNIQ92VlRVBy8MrT8TD ge/wvM2g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1eycbN-0007Mq-8i; Wed, 21 Mar 2018 12:12:21 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1eycXy-00042R-0y for linux-arm-kernel@lists.infradead.org; Wed, 21 Mar 2018 12:08:56 +0000 Received: by mail-wr0-x241.google.com with SMTP id o1so4922253wro.10 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=JlEve18dZWekYr2CHM3l63dUNe+VW54Gu5NQ933kK7KLwxK+EsiJUIhHAORcH9aGXO VN9I2xtehfDNd5iQb1GPJW/fW7wfXKHW/hPh6t3H1yhxiOVosLkRSpHs6nijcnT6LzDr rauVyAAIrgvLcsz8cVVjY1+uXbswK+/a0XOq9Ciku2C8qTxbTP4G7/uzvZf/I3b6Dm9T zzD7aYC7jGS7AUZiqL2QElm1QL/jlFv/7X1qBfimAICgSfQFaVi1t5yBopPbxIcyFoHU 7Zw8Q/N1giqn5t2A0skSFhZ582JmLE+kITZ2n8dbzU4hhtqTJsapWgtxUtqG9xFgEbeN UNMA== X-Gm-Message-State: AElRT7FyGszrPoOgS/5QqkXzuKbfHHi9wbKmwm44ci03twO6alKSH9wI Tpbph2ZLIW3OV6ian/q1qqVDXw== X-Google-Smtp-Source: AG47ELttdw4bkQCsOy+hj3DftUfMF8EU9+G0Q0j4AfXVvl6i63DSdIs/ayzWTF7IrZbfymK7gIzsuA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180321_050851_010970_F77B887C X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 --- 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) {