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: 10317955 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 EA6BC60383 for ; Fri, 30 Mar 2018 15:35:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D61ED2A30F for ; Fri, 30 Mar 2018 15:35:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9D1F2A5DD; Fri, 30 Mar 2018 15:35:23 +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 52B502A30F for ; Fri, 30 Mar 2018 15:35:23 +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=i1KKGWj6iBcCbZoUmsROWim94zkM9jmzJA6vkCIcHWo=; b=Lv3tCCGs9WjNmvqCbAlOJFzsz+ A0MRv4pJgOMX4cnwtDm24aVvbsVYDwGyqYSCYMsS9niWhVoLN9xfoHQRhrsUSezqOWnjf9aqD3naL 3in2cC9/1OgvPJ/1nx/f2kDHToc6sGaz7+dN6DPJ0U8get6lFpfJRTR1Ougjbou6dktCfP4X8VA2o 6lvozyP0z2g7s5ElDcUHoHwCZCU5YXacRMxIGB5F9u1ucMm5UAp2b+kgZnEY5wbFIP8yMbSNs49rx YM4hRk/hrPsO79s3f8W1IjMQ7vexfAfQ8qqmGvP3wHlayjGbmmG+EGqFyCO25TC5kQzzTDBmBBwTw 1LQgtdiQ==; 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 1f1w3V-0007p0-Ry; Fri, 30 Mar 2018 15:35:05 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f1vxv-0003Yy-Cu for linux-arm-kernel@lists.infradead.org; Fri, 30 Mar 2018 15:29:21 +0000 Received: by mail-wm0-x242.google.com with SMTP id h76so16168702wme.4 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=I5ga1KGKEKxNGa84d0G6TbLfSPobqx3qVQuiy5n7Wb3pRXAApcn8WSZovMqPeYaxEy lXgowlAGY0HKuzuMzR85kyK8kRVqzkxvj2xPZqeNKc/1F1ud24m/ePRZfcHYGEgZfOOZ gyDFC1zMT+rw7stoiW9QZYeXTDwmnPZveTXGobFypbk1QUY6RLjeq8GjNwYg++M5MDoA kjCnVL7NKcQQLJ5E7xroanY/OkfsWqgkxJk9h82jI4uFEFNZ2LQTN2gTreFM907gTGoC ZIv9qPOZpzFrRO/aszoiJjZ7OjtsvL1DcoZjommD6xb+3/YfMAsUSv3LWK/tbk808f3I wJrA== X-Gm-Message-State: AElRT7G3LcyKQQ9RpOyAiRWny8M3q9qe4x2RMF279jshUOs/ioYRbVuk SZyQBDHUoVGOgF1Tn2nsrjmGEQ== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180330_082919_455101_E7E36DFD X-CRM114-Status: GOOD ( 15.01 ) 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 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) {