From patchwork Tue Apr 17 17:30:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10346131 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 3C42060542 for ; Tue, 17 Apr 2018 17:31:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E7F4285C3 for ; Tue, 17 Apr 2018 17:31:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23012285C5; Tue, 17 Apr 2018 17:31:34 +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 A68A4285C3 for ; Tue, 17 Apr 2018 17:31:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752159AbeDQRbH (ORCPT ); Tue, 17 Apr 2018 13:31:07 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:38261 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753002AbeDQRa6 (ORCPT ); Tue, 17 Apr 2018 13:30:58 -0400 Received: by mail-wr0-f196.google.com with SMTP id h3so25084063wrh.5 for ; Tue, 17 Apr 2018 10:30:58 -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=DK72v7S5jC8qYYgIPJlMh4fh1QDByrabc90rKJjFJWA=; b=iO0CXRfovq3eptGKFSun8PVUpTQXEVal/VOsEZTM9S6Im5CL9rPJLVttECt2rJ0k7o B+J2Eb9rK1IZeFukg2DsZRsk6yNxuyihn/rqOWj7t1NCC9b5lTWzz7RQjWFd55eW/kkI xZTgBUPWpuSLtGxswHIyDD+QlOL22vPcFew2cBcdc+fjTrbSFyES7On0JSS5oSqsCyha 1FBi45aovf9HlQwKQwBgQGbqAnjTqozRTB5DHF7VHeL8j2stMB1JQpd/WPlkjAiDtVdK bu9VnpIV3CeOAWftubzB1PiijM+uTrgYRgQyk79SU6lYEvzhkse/3W6JuAtEtCmUh5o1 W2JA== 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=DK72v7S5jC8qYYgIPJlMh4fh1QDByrabc90rKJjFJWA=; b=r0XgB/AlfqOTVYQs8wAnEKDOStGziFZPqitZ0ELMDZHylqWcxc9x0Qbg/JmoLJpfCe 2zBUWPyE3TS7C6Xy4A2pc+EyjMndiQsnC2cNDGOCkZ8Qh3XIB8tFafVRAmBAROr7q5/1 XtZI4pq9PKCzM0bJIBQBNM4bmapx97B/9MagoP0vd7Qqm8W9lV7+DKURzzt7ZVGbv3Ko s0NUkGDlNt1uQnI4XOe02bK6ihJDS4NSoq2UYKbp+0Cc+aZBk32X1g6VYpb0ahxqsnJ9 Viu0EZI+Ng/wgyc81GoAgfcYNWtzuoaNnW/oUqgbcy+2Rh9opGlDow01y+KKH2/DRjYY RMTg== X-Gm-Message-State: ALQs6tDQq76U56APvAOBKSteA6nKRj0mXdFQlO6XH3Mlwzts0DqorHmX fYFUBcwm3U3LQojbyhqv0+mwhw== X-Google-Smtp-Source: AIpwx4+CaBGdmSnnMybEMCxEfeo+iu7llelj6392rX3q5gMa7TEFRm7iLY4klM5zVRd4JedlX3yL4Q== X-Received: by 10.28.51.6 with SMTP id z6mr1634741wmz.63.1523986257658; Tue, 17 Apr 2018 10:30:57 -0700 (PDT) Received: from brgl-bgdev.home ([2a01:cb1d:af:5b00:e837:b8d5:48c1:571b]) by smtp.gmail.com with ESMTPSA id b47sm14042341wrg.13.2018.04.17.10.30.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Apr 2018 10:30:56 -0700 (PDT) From: Bartosz Golaszewski To: Suman Anna , 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 v6 7/7] clk: davinci: kill davinci_clk_reset_assert/deassert() Date: Tue, 17 Apr 2018 19:30:38 +0200 Message-Id: <20180417173038.25510-8-brgl@bgdev.pl> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180417173038.25510-1-brgl@bgdev.pl> References: <20180417173038.25510-1-brgl@bgdev.pl> 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 --- 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 ce170e600f09..c822fdfd0897 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) {