From patchwork Wed Nov 2 08:59:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laxman Dewangan X-Patchwork-Id: 690328 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3t82Wt2k5Jz9t2n for ; Wed, 2 Nov 2016 20:15:52 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754641AbcKBJPu (ORCPT ); Wed, 2 Nov 2016 05:15:50 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:3896 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754505AbcKBJPt (ORCPT ); Wed, 2 Nov 2016 05:15:49 -0400 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com id ; Wed, 02 Nov 2016 02:26:11 -0700 Received: from HQMAIL107.nvidia.com ([172.20.13.39]) by hqnvupgp07.nvidia.com (PGP Universal service); Tue, 01 Nov 2016 14:15:33 -0700 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Tue, 01 Nov 2016 14:15:33 -0700 Received: from DRUKMAIL101.nvidia.com (10.25.59.19) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 2 Nov 2016 09:15:47 +0000 Received: from HQMAIL105.nvidia.com (172.20.187.12) by drukmail101.nvidia.com (10.25.59.19) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 2 Nov 2016 09:15:42 +0000 Received: from ldewanganubuntu-System-Product-Name.nvidia.com (172.20.13.39) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Wed, 2 Nov 2016 09:15:39 +0000 From: Laxman Dewangan To: , CC: , , , , Laxman Dewangan Subject: [PATCH 1/3] soc/tegra: pmc: Remove legacy Tegra I/O rail API Date: Wed, 2 Nov 2016 14:29:47 +0530 Message-ID: <1478077189-24426-2-git-send-email-ldewangan@nvidia.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1478077189-24426-1-git-send-email-ldewangan@nvidia.com> References: <1478077189-24426-1-git-send-email-ldewangan@nvidia.com> MIME-Version: 1.0 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Remove tegra_io_rail_power_on() and tegra_io_rail_power_off() from header as client has been moved to new APIs. Signed-off-by: Laxman Dewangan --- Based on the branch (https://github.com/thierryreding/linux/tree/tegra186). This is just residual of earlier applied patch commit 7cf94b5869b99c1fc0da8699542c8f3644537c33 Author: Thierry Reding soc/tegra: pmc: Remove legacy Tegra I/O rail API Possibly it can be squashed on the change. include/soc/tegra/pmc.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/soc/tegra/pmc.h b/include/soc/tegra/pmc.h index 52780a77..9c314a6 100644 --- a/include/soc/tegra/pmc.h +++ b/include/soc/tegra/pmc.h @@ -203,16 +203,6 @@ static inline int tegra_io_pad_get_voltage(enum tegra_io_pad id) { return -ENOSYS; } - -static inline int tegra_io_rail_power_on(unsigned int id) -{ - return -ENOSYS; -} - -static inline int tegra_io_rail_power_off(unsigned int id) -{ - return -ENOSYS; -} #endif /* CONFIG_ARCH_TEGRA */ #endif /* __SOC_TEGRA_PMC_H__ */