From patchwork Wed Jan 23 15:32:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2025581 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2A8BC3FD86 for ; Wed, 23 Jan 2013 15:40:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756243Ab3AWPk2 (ORCPT ); Wed, 23 Jan 2013 10:40:28 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:61086 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756150Ab3AWPkT (ORCPT ); Wed, 23 Jan 2013 10:40:19 -0500 Received: from axis700.grange (dslb-178-006-250-035.pools.arcor-ip.net [178.6.250.35]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MD155-1U7hT92dRD-009gr5; Wed, 23 Jan 2013 16:40:17 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id DEAE840BC6; Wed, 23 Jan 2013 16:40:14 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1Ty2Qw-0000Q1-MI; Wed, 23 Jan 2013 16:40:14 +0100 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org, Magnus Damm , Chris Ball , Guennadi Liakhovetski Subject: [PATCH v2 10/11] mmc: tmio: remove unused and deprecated symbols Date: Wed, 23 Jan 2013 16:32:37 +0100 Message-Id: <1358955158-1510-11-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1358955158-1510-1-git-send-email-g.liakhovetski@gmx.de> References: <1358955158-1510-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:bGK3YRaimt0VRR/n0eDgSHVsI/bEQjoB0tOLLeFaaYR 9ZUQRsPFXWxJw4eTDMX/luSsQEafBAAhizXr4V1j7iqVn5Fqmy DjRt0Hu4OnRtoh6VLLODNRJnrxd9X2REeuaK80DXtbJxdTeuyU DrSttNd2ABKBMXqphCVIPoD+R0/Xiv2l+0+xNMMMBdG0k0jEe+ JknDPTtW3CMy/2PR+JAGrSofPcxi9TBGI61kX8vypSD8IO5cHm 64LGaxfTA+iCu+5vPHxHuNKSYINkumyIGJ5qCfQml7acPk9h/h TK3noUbpa0KCOhDyFDY32GHjAUk5mV9d4X2T+RJHNp6H/nMRSB oRGoK+j9KvAJR5bTN1CUiA/ylQ0Ym7Yo9Zsi8jD42ecjCPJCcl 4IcdcS/iDs41A== 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 {