From patchwork Wed Feb 6 19:46:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2106461 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 164933FCFC for ; Wed, 6 Feb 2013 19:47:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758038Ab3BFTrP (ORCPT ); Wed, 6 Feb 2013 14:47:15 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:52926 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757988Ab3BFTrK (ORCPT ); Wed, 6 Feb 2013 14:47:10 -0500 Received: from axis700.grange (dslb-178-006-240-079.pools.arcor-ip.net [178.6.240.79]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0M47AF-1Utct82dsZ-00rlll; Wed, 06 Feb 2013 20:47:06 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id D84C040BC6; Wed, 6 Feb 2013 20:47:04 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1U3AxU-0004qS-Lz; Wed, 06 Feb 2013 20:47:04 +0100 From: Guennadi Liakhovetski To: linux-mmc@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org, linux-sh@vger.kernel.org, Magnus Damm , Simon Horman , Guennadi Liakhovetski Subject: [PATCH v3 10/13] mmc: tmio: remove unused and deprecated symbols Date: Wed, 6 Feb 2013 20:46:57 +0100 Message-Id: <1360180020-18555-11-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1360180020-18555-1-git-send-email-g.liakhovetski@gmx.de> References: <1360180020-18555-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:ou8EXX+XV90uiECSllwpY1CEkeMjEvud7jCAXLRgtnJ +ZeecXCVJf9SzRb4x9P7c85XjZAOVi0hfOdz1xgSyRZBOXMQkv egcpTYRH6W7HKIRVdHL9DOl/gLXegFcbL/3+jdFhO15ILG+pzU HiwIIuPEiW9ycFxk4mmYSNioB5kZcxakyGy6upIgW+KVlvOEHA A4bEUXc4wp5Qglq3kxodZEad6gvRKXVfgz3MN3xSx9zQYzI1Lq x6H/euda+NwUsZOiji8Mc8Z6FnuKfsP8IoMhZBhL40eud2Rgt1 wBK9cAAsKvy8nmCQ5CtXO3GIrTCfBw7Xu+0/E3F/K4a/gtdlRJ Ukn7LZtNtEwifyxsYUIgz0BKwNiy9IwCtNJibQ4ulUdTzT7g9e Zio+rz+L31U9w== 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 {