From patchwork Tue Mar 27 09:20:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10309627 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 43AA660353 for ; Tue, 27 Mar 2018 09:22:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E049299A7 for ; Tue, 27 Mar 2018 09:22:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 219B329C32; Tue, 27 Mar 2018 09:22:01 +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 D40C2299A7 for ; Tue, 27 Mar 2018 09:21:59 +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=+ipzg7mQG+3A5LfnvM8xJ+R2Q2GV8qmhled16Rdty9E=; b=qyv2vs/34I1220SYtYNBMfpf9C wbZ6F1j6MnPR2r9qgph4yHZcoLe1KvZTRnu9Wm/7RdpRuPfdUe+TlVQqiiT5K9RN2XmN/qLha6UMc aIrd+rhXIJJsswCOdSlJSL1S90V2CiFJbRKauofS/2xl7fh1JVvaAO/6KhmPjAwfYzXwk3k3R/Z4d FzH/Hm1bX85jfR7AITG3WqjaG2/PFV/qy/F+FSSD0o6e3C+qaY8ZqCNHnkkRXrt0rjf6XxIyDCzFG fmjc7on/Kimy0Kv6qpKoRZa5tz9XaOk/kObxJqYno0jZ7hhZtcVvev4q8gxKEEyH0M8iZByBZkfbE gGy04Acw==; 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 1f0kne-0002Jm-2J; Tue, 27 Mar 2018 09:21:50 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0kmf-0001fK-RE for linux-arm-kernel@lists.infradead.org; Tue, 27 Mar 2018 09:20:51 +0000 Received: by mail-wr0-x243.google.com with SMTP id f14so21625004wre.8 for ; Tue, 27 Mar 2018 02:20:47 -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=HXT6VaLdd/B1YlKZ1lczMSN+U3d23wftQG/aZhTpedH2o2/Rd6ayhs+tuXD/dHtVnT xuVXRQnIlZ07KAtewd+nTO6DeTRPt2ZzClXpoFhY2CThH7iiIwzik2kLEL6IAYR/w6kL NXub/1hrtYsngzaQS7E0aSqqu1qEVJpg1LYHgFrwsk4xk2w8WsiXkZdMHhIWapb+4w0k re1QYOP71OgYwzJDTjem3bKmroRM+LwWS2pjoBADdPZ3hlQhhMkEFRP11v0mJbVQHmwy mU+t/fr54Se/BjlJLOfGwx7tsPojAMiHf3tyOq3HdUQmxzx4FTg6bcZmCghKgb9vhhHZ t/HA== 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=obkLLYsQ3RdcYyhwtaOhPrYgy5CBEfDKCQf5YRIc2Pn7NvFn20fMVZcG45drtCMmVk ZpFiwXPVdyPRFUXaGbKa32pNGEWHZ7ZpZYXmsal72J/LijBZHIoPAHBX6s7YGbYz8rQt rM0PmHN2i3s7a6XoVxEHD7GDrJxOyc4NJSwDkbXl5ny/+/9virGMWVNvTpnWyrrk7by2 NVksei3TRjlkH3Zg/61jkUoFUDZpEUKGAEs/c9NMclfD7AC6v29mbVZL8lz3Rc9iCeQ0 Upa2IqhMk3VMmf4xpPGkj4uiupKwQn/1H8531ha6qnG7EY7Ohyqay0A6ib5ot9gI/Rf9 3jqg== X-Gm-Message-State: AElRT7E2CUShCZSDBmw9FmIdmnHBNz1IxQ2mRaYnc0hqPkDpW6nLIbC9 EgE0kJjuVUgqOFgzDrCAzVicnQ== X-Google-Smtp-Source: AG47ELuLbk5eUrYXbwiOSiNZx9BXKYfh2I87fiw6PoJ9+Ze9MjuRHNxnjFrAjnG/0vB12TOP1TQg6g== X-Received: by 10.223.197.139 with SMTP id m11mr32471502wrg.198.1522142446684; Tue, 27 Mar 2018 02:20:46 -0700 (PDT) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id h190sm1288925wmd.22.2018.03.27.02.20.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Mar 2018 02:20:46 -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 v3 8/8] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Tue, 27 Mar 2018 11:20:31 +0200 Message-Id: <20180327092031.11251-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180327092031.11251-1-brgl@bgdev.pl> References: <20180327092031.11251-1-brgl@bgdev.pl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180327_022049_881533_45E1EE49 X-CRM114-Status: GOOD ( 15.87 ) 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) {