From patchwork Wed Jan 16 16:54:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 1991721 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id EBBFDDF2A2 for ; Wed, 16 Jan 2013 16:54:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757947Ab3APQyx (ORCPT ); Wed, 16 Jan 2013 11:54:53 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:61454 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757933Ab3APQyt (ORCPT ); Wed, 16 Jan 2013 11:54:49 -0500 Received: from axis700.grange (dslb-178-006-255-053.pools.arcor-ip.net [178.6.255.53]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MPXk1-1TrNOL2Yu9-004ggE; Wed, 16 Jan 2013 17:54:48 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 6349640BC4; Wed, 16 Jan 2013 17:54:47 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1TvWGF-0006mv-3a; Wed, 16 Jan 2013 17:54:47 +0100 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org, Magnus Damm Subject: [PATCH 10/11] mmc: tmio: remove unused and deprecated symbols Date: Wed, 16 Jan 2013 17:54:45 +0100 Message-Id: <1358355286-26029-11-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1358355286-26029-1-git-send-email-g.liakhovetski@gmx.de> References: <1358355286-26029-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:MFTezxRvbspyif6D2dwwD/bN6myZDIKTgzK10gnvfga Pbj4jk/LDM3A1GfUGyx1iHlQSTK67V1gyDuxfVdt04QIuaWU7y fl7kUK/B8WNUxQjD+uE1V3+APCJLMA4yRHS/o5x6emhc280fhV 8DnO2ySDWuS0lSDzQmJu0HVU3je5tZgrTg0RztSlXfQXAiISgw gsgKFKjKVsMhGmHDiIS8s1w/PszyraweOjVAaIKGzoES3Yx2Ay lbiWJ0W9cfioipEkfp6Pl57K40FFcKZYZAwDA83zQIu/Vzd+3m xIn7TGNlaZp91wN1vsS4LrOdQSEA13ES8gxswjJva4CtzOLtqf fQp2QM9DYn+as86Zx84UDObaRRJoi8jGqLvVYHflBBYS5m5KAc 24aI8UMXF1Y6w== Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The tmio_mmc_cd_wakeup() inline function has been deprecated since 3.4 and is unused since 3.4 too. Remove them. Signed-off-by: Guennadi Liakhovetski --- include/linux/mfd/tmio.h | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index d83af39..99bf3e66 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -65,12 +65,6 @@ */ #define TMIO_MMC_SDIO_IRQ (1 << 2) /* - * Some platforms can detect card insertion events with controller powered - * down, using a GPIO IRQ, in which case they have to fill in cd_irq, cd_gpio, - * and cd_flags fields of struct tmio_mmc_data. - */ -#define TMIO_MMC_HAS_COLD_CD (1 << 3) -/* * Some controllers require waiting for the SD bus to become * idle before writing to some registers. */ @@ -117,18 +111,6 @@ struct tmio_mmc_data { }; /* - * This function is deprecated and will be removed soon. Please, convert your - * platform to use drivers/mmc/core/cd-gpio.c - */ -#include -static inline void tmio_mmc_cd_wakeup(struct tmio_mmc_data *pdata) -{ - if (pdata) - mmc_detect_change(dev_get_drvdata(pdata->dev), - msecs_to_jiffies(100)); -} - -/* * data for the NAND controller */ struct tmio_nand_data {