From patchwork Thu Jun 21 07:37:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10479351 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 0B982602CB for ; Thu, 21 Jun 2018 07:37:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EECD828D08 for ; Thu, 21 Jun 2018 07:37:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E328728F81; Thu, 21 Jun 2018 07:37:42 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, 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 904F028D08 for ; Thu, 21 Jun 2018 07:37:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754519AbeFUHhU (ORCPT ); Thu, 21 Jun 2018 03:37:20 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39594 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754428AbeFUHhQ (ORCPT ); Thu, 21 Jun 2018 03:37:16 -0400 Received: by mail-wm0-f68.google.com with SMTP id p11-v6so3948753wmc.4 for ; Thu, 21 Jun 2018 00:37:15 -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=EJfqI7MXPfwK/Lkh5EsCdmacNmrknbn9kBUss39RD7I=; b=hNTUnNAYvCVo2R3SFK83NXt3nsETEohIBLc1JYiqEqNMex/YAQqP2mpt9pwgPfidv5 tO0dqa+5ytH8p/kdyZYWUpV16ow4b0kZXDbKp0YPGEm3HBFWMfAAqUcUctYM6r9YoK2Z JmqPw83dpyWsucVz6ciTw+kmJgqrNUjnwP4yD+pHapRQT6SwYyocyPZGHGENY6uPgNVJ rJ6Z2er8/DbQz0AlJBnWguARp2ib00ZKtabft7jRPRWN30uS8jTkgnVyWFz7NNU6Jprp g+TXsjsKwPABAMmKd9rs9tLDVdCUMnLDmsMbe+IkKZl0OFv8hPwmE2XbLLPrWU+UwBGQ ztBg== 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=EJfqI7MXPfwK/Lkh5EsCdmacNmrknbn9kBUss39RD7I=; b=h9bDnDfgVj83ol6stx1KE+YpNxl7OQzuO7qWc9jCxKAwpvO4EGubtI8DbVFKQaS/qV 9JjFKW0KRDbLOUIvLks8zAztyoMVkalCNvZqnsJuaF0A9PMHW6nsrKoYhiWGtw6Jatfc ezzxCDHHur3szHaThINduzxLKPM+Kt2o/gIR0lgkMs+XWHDZncTpzFDlzgUg7ppITrop yp2/+Ry3pCEIGI+ahnfh9evDDucFbY6dtWqSUweDsRjTbntApUb1YjswdOqKmzybQVn1 4KHmWkMALpuUt37I+BYQaL2ywZ0FXsyc8ijpeC7cJXoOxtigkGoKT2BlP6W4uvtMXBBe T6SQ== X-Gm-Message-State: APt69E0Sos+R0CiGSPEoTrxoKkBogRVOBYt/xAvp76/RpFJ1BOOCyf7p lM5cVJEtZKTHZlE7WiXf5dVDUw== X-Google-Smtp-Source: ADUXVKKaZFdBkgmgZAgitWY575R0u7K3jGZFSdHZzn5a2J5I2mnHTY2hApqBdlbHez/Q6rZVZtt/QQ== X-Received: by 2002:a1c:b80a:: with SMTP id i10-v6mr4354203wmf.123.1529566635100; Thu, 21 Jun 2018 00:37:15 -0700 (PDT) Received: from brgl-bgdev.home ([2a01:cb1d:af:5b00:e837:b8d5:48c1:571b]) by smtp.gmail.com with ESMTPSA id l7-v6sm767635wmh.1.2018.06.21.00.37.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 00:37:14 -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 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 v7 2/4] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Thu, 21 Jun 2018 09:37:04 +0200 Message-Id: <20180621073706.22812-3-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621073706.22812-1-brgl@bgdev.pl> References: <20180621073706.22812-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 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 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) {