Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1695304imm; Thu, 21 Jun 2018 00:38:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJlprawzKBykbQK0Nnvqxk4UR31hC0yWV/GYApXVbENjLaajkyhFuQMBkqvXDDzYIb6o31Z X-Received: by 2002:a62:4c04:: with SMTP id z4-v6mr25983911pfa.205.1529566726859; Thu, 21 Jun 2018 00:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529566726; cv=none; d=google.com; s=arc-20160816; b=vqtPgWomQf6DZKhqc6DIoNC/Mn2pW7+TqIoJD0vmQHF50DhhTNsMlJp1CN2/sfcgdN kraF8OfR+pVlH59uRLtORxdhWZREIUhdavTFwFCueR6e19m0kqtpvTwZdh87+8ysSi8C G//WYsJxh5G/v3nWH8T8Mm+UiuNBYhj0/ssslf41by7H/J2dOQb/hJHE3CxnjsBZ2kDm FuIEdTBomaLq9IHGLUvpb4c9GNCPcVmaPEvcEZaaj9hv4W4ZN03h5i4drzNwHN0b+wd1 6TUiOJ+Ha3ycmGZuPFBlUBAdXsz1CMg+P9Nwf4RHNnbYonYk+qSIJUt86j2YldngKW4v T8Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=EJfqI7MXPfwK/Lkh5EsCdmacNmrknbn9kBUss39RD7I=; b=FB8cbl3HjAqc4EAWdiiFoKinby1KPz3n8eeXXK1rU60Tf7hbFQdQMX4BlDg6mecrw4 RMy8DjFDji5PrLgFF8RpduseQC57r9ykSXeuXEYa5vDnEta2oskZXS0wTi0sMMbhhr5s eEWFnocNP+zGIOAfMlJTP/xtdERaUInW/QM9QOQKiw8d6qGNEiUOAKnhp5d4+TXoXAu9 KqaZdm/AA+ej7vG1yaiEf4B4DQWwO7SNjNlnvpyuqzHylekfXjluLe8zB4W/lEn43TKs yP90esyeUodrICRgxGrwZwz7vQ9GyZTuSEnMvqZlYXg5sptBAYm1j9BB8ILf/Ek29uSv yfvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=hNTUnNAY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z141-v6si4280355pfc.95.2018.06.21.00.38.32; Thu, 21 Jun 2018 00:38:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=hNTUnNAY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754435AbeFUHhU (ORCPT + 99 others); Thu, 21 Jun 2018 03:37:20 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:38846 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754434AbeFUHhQ (ORCPT ); Thu, 21 Jun 2018 03:37:16 -0400 Received: by mail-wm0-f67.google.com with SMTP id 69-v6so3967918wmf.3 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=F2yrvypbDouLiFMM99UmY8uC6nHy+scu9dTuVmDM6OOHP9jZlMuTbddZVvyqu6C23X 7x0NLsLY0hvJ+NjFwt2xeAPl9lp3i5dLosH2HQd4gEfkzuxD4CJpH34Xw94X0+HLYMZ2 VmObvXbCsrYfqe/lHdYeZOofBLT4apwkuSBW9FceWXfEG/uUP/5htdlW76ddSpqtEY+4 EwI1wI9beBCTn255r9xjlL7FRw/Vb12Ktv5E0FffbjpjPot/PR8CbzhLwOpjKLZ/wuhr DIRCDK+ZTxGE1OL5WUU9LRYs6uAhM5Zeman+cBeJAeukZGnjH7YgPMZcj28csPP3b4yF tCxA== X-Gm-Message-State: APt69E36NJ+yehg8R2YaygKsABGmaQSb1+ufrce+fk+uuLpcMr9T5JaH +2WuhGQPTJeYFMTq2c3TQMO06Q== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) { -- 2.17.1