From patchwork Tue Oct 2 15:48:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10623841 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 68BB814BD for ; Tue, 2 Oct 2018 15:48:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB15327FA1 for ; Tue, 2 Oct 2018 15:48:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD2D127FA9; Tue, 2 Oct 2018 15:48:31 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham 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 22D3E27FA1 for ; Tue, 2 Oct 2018 15:48:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728401AbeJBWc0 (ORCPT ); Tue, 2 Oct 2018 18:32:26 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35157 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728361AbeJBWc0 (ORCPT ); Tue, 2 Oct 2018 18:32:26 -0400 Received: by mail-wm1-f65.google.com with SMTP id o18-v6so2708133wmc.0 for ; Tue, 02 Oct 2018 08:48:23 -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:mime-version :content-transfer-encoding; bh=CKrNC4Opv9WiNj2et19+W9CzZT/iZpbvH+NmxrSDXkM=; b=WuiqFg03Ddtct5CI2ZImWCR/UZxjKxaxy1SVF7sRueWIWqZv8jsqNawETIKS5UdF/a rU0qvHx2MifnymphIMo8gzjzXul91Pe8R2GUZx8rXD4EPMtRkP3PCTvjiELuXmnXHi21 fljvKMhKYuN9j9rdbn8PMqrXfvBRDjX2vX3FYMAzLhzRIJAe0ys74i724dxYC6gQJeK2 QBhPPA2JatI4UdhFgZ/QYhNAvZCG3uThmG7pmU8OJkSQrQ71a0NpTRN//EtTzCTz6R01 YeIo2uyRRZsp/lx0uDoeRBw7LMFSmsPpyMNCpj5LHFo0ILGUUnhaxyIFFZ0ecvwCD2T4 77VA== 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:mime-version :content-transfer-encoding; bh=CKrNC4Opv9WiNj2et19+W9CzZT/iZpbvH+NmxrSDXkM=; b=W4aG1dscoXNO39VCneZqrrBuFgMGnsdMUcNzNbb+E+ktoGxVEQ6PCrv4Nsk9TpCH3O 7dtzuObr5NLQ/etrNhmCbypEEoEQ9+cLgc6Na3+yc+t7O5hJDiDDf7Wm0lqj1AwyS35F e4ctA8k7TiYAl6NZOfOnfi9kRQBd7kEN8lfPhcyWvMpbqg+Ece8FkwLO0tMtkKmwJo+5 Ht1pWd+1EC1lA2iniUTUuXuT69c1W2XJQSlgW8OwrGIdqayiHE1MfSikbiQTQbzmHUg6 e9fuV6x2x4U0M2YhJzXl29XJffN2FNcAo61wBAheKKQpqwQO2xmVIg1ANjgF0CRcrQK9 4NHQ== X-Gm-Message-State: ABuFfohZsLw9E0eIEw7asFqP0xtz7irt84k7E5glri+9E6O+pBCMza0B 9kN5EgE7JBcczYFy/nhD/3s0ug== X-Google-Smtp-Source: ACcGV624d9rrM4AWdXxyMmXXCypT5cMlSHuc4wYTEHZP3EVChmtcTYKstlAgd/htlYXuiC3rXWXVMg== X-Received: by 2002:a1c:9f41:: with SMTP id i62-v6mr2414870wme.53.1538495303226; Tue, 02 Oct 2018 08:48:23 -0700 (PDT) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:217b:7d7b:52aa:bc53]) by smtp.gmail.com with ESMTPSA id i131-v6sm11520779wmg.26.2018.10.02.08.48.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 08:48:22 -0700 (PDT) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Bartosz Golaszewski Subject: [RESEND PATCH] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Tue, 2 Oct 2018 17:48:17 +0200 Message-Id: <20181002154817.10347-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@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 --- Hi Stephen, Mike as suggested by David Lechner - could you pick this up directly for 4.20 instead of going through David's tree? Thanks in advance, Bart 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 fffbed5e263b..5b69e24a224f 100644 --- a/drivers/clk/davinci/psc.c +++ b/drivers/clk/davinci/psc.c @@ -303,24 +303,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) {