From patchwork Tue Nov 1 11:36:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolae Rosia X-Patchwork-Id: 9407231 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 2C3F560721 for ; Tue, 1 Nov 2016 11:37:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 042CC2978B for ; Tue, 1 Nov 2016 11:37:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EBC622984A; Tue, 1 Nov 2016 11:37:31 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham 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 A8CAE2978B for ; Tue, 1 Nov 2016 11:37:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423882AbcKALhV (ORCPT ); Tue, 1 Nov 2016 07:37:21 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:35638 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423638AbcKALhU (ORCPT ); Tue, 1 Nov 2016 07:37:20 -0400 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-03.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1c1XNX-0003O5-7H from Nicolae_Rosia@mentor.com ; Tue, 01 Nov 2016 04:37:19 -0700 Received: from rosia.mgc (137.202.0.76) by SVR-IES-FEM-03.mgc.mentorg.com (137.202.0.108) with Microsoft SMTP Server id 14.3.224.2; Tue, 1 Nov 2016 11:37:18 +0000 From: Nicolae Rosia To: CC: Tony Lindgren , , Nicolae Rosia Subject: [PATCH 3/5] ARM: OMAP3: kill omap3_pmic_init Date: Tue, 1 Nov 2016 13:36:44 +0200 Message-ID: <1478000206-10855-4-git-send-email-Nicolae_Rosia@mentor.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1478000206-10855-1-git-send-email-Nicolae_Rosia@mentor.com> References: <1478000206-10855-1-git-send-email-Nicolae_Rosia@mentor.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove dead code Signed-off-by: Nicolae Rosia --- arch/arm/mach-omap2/twl-common.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-omap2/twl-common.h b/arch/arm/mach-omap2/twl-common.h index 048f6b2..397722d 100644 --- a/arch/arm/mach-omap2/twl-common.h +++ b/arch/arm/mach-omap2/twl-common.h @@ -45,12 +45,6 @@ static inline void omap2_pmic_init(const char *pmic_type, omap_pmic_init(2, 2600, pmic_type, 7 + OMAP_INTC_START, pmic_data); } -static inline void omap3_pmic_init(const char *pmic_type, - struct twl4030_platform_data *pmic_data) -{ - omap_pmic_init(1, 2600, pmic_type, 7 + OMAP_INTC_START, pmic_data); -} - void omap_twl4030_audio_init(char *card_name, struct omap_tw4030_pdata *pdata); #endif /* __OMAP_PMIC_COMMON__ */