From patchwork Fri Mar 23 11:47:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10304249 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 819FA60386 for ; Fri, 23 Mar 2018 11:47:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7397928A24 for ; Fri, 23 Mar 2018 11:47:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67DC828ACF; Fri, 23 Mar 2018 11:47:44 +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 4976B28A24 for ; Fri, 23 Mar 2018 11:47:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754395AbeCWLrc (ORCPT ); Fri, 23 Mar 2018 07:47:32 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36895 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754748AbeCWLrZ (ORCPT ); Fri, 23 Mar 2018 07:47:25 -0400 Received: by mail-wr0-f194.google.com with SMTP id l49so2682024wrl.4 for ; Fri, 23 Mar 2018 04:47:24 -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=lLWkgQFVq7oL0BqWDaR7ulFTA6jiHRRMXVgrwHVNlgwuSC7/4T2DkmBHrtM/BxHB2Y ETNejLTJSOI3s1sx4dU90MIYnp3dEM1YiJGe96UyhLprtl3DUpz37L/GEDk6D4jF0Hyj jRXqLfXJsI1Jx/Hhg3qH+auuf8iOP5f2PP2ETGDFRDs/3Xw4grzZzqOTsACyhpwgWohS OHjf0DISp3AWJsJoi+Yk4ydurwEB8N9XHTA2oz1gdCdyxHafGwNcmMmDrZiOz3TW+p81 h7xr4Evqng+GEUAnj1nAMXO5+K8Km3spks50rr1gTo0P4lOqaej+32WsWfQaqyEZ6uOK uoDA== 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=oAw7AJjSPlDSmMhih8RNPXJ5r+AOvEu4hvbU34gXApex7dILTA2hByZRUjOpVrl++r 9jzS19JxYKSTsS/nEmDxnG7gzMU8tX8bXkD3WWPT7uDyE7Pa5d1yVOomFd2nAL2MKmBU FqDQcBkz8GwayfGcuewNJ0gXgx7/qXwp8ZoO7UtT6NLRymzAuQt4OsWEbKMprThlrW3Y KAUdZyHzJNs8ZpLafN1/DDdRT/ZOh8VSUiMJIW+Tm3D0rmlbVh5mvVeii/T9xJWDgPk/ rv7Kkc3WMDMU6wR2NFUF6mDV2wJZ2aJ+3cjBVDF5fL4Fg5jfgiyR1BVEG/tkyS+ykyaX Gu/A== X-Gm-Message-State: AElRT7FSRFw2xGSeNbi0xkJ1bdMBvbKubcHVPF+WrP+pm4RO3TmkgfYj kk81vEW6xzn2yTtfhplY+CXykA== X-Google-Smtp-Source: AG47ELtauukrp0ZEN3cKR9f3BRfXjXGsiBkimOFYzcqBeO+Wios8n8+2eSJJD2jVqH0/xM+ZlUoCig== X-Received: by 10.223.225.204 with SMTP id l12mr3909228wri.175.1521805644128; Fri, 23 Mar 2018 04:47:24 -0700 (PDT) Received: from brgl-bgdev.lan (LFbn-1-7086-217.w90-116.abo.wanadoo.fr. [90.116.254.217]) by smtp.gmail.com with ESMTPSA id m71sm9394843wmd.6.2018.03.23.04.47.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 04:47:23 -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 v3 8/8] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Fri, 23 Mar 2018 12:47:09 +0100 Message-Id: <20180323114709.20330-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180323114709.20330-1-brgl@bgdev.pl> References: <20180323114709.20330-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 --- 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) {