From patchwork Fri Feb 15 15:13:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2148521 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 904673FDF1 for ; Fri, 15 Feb 2013 15:14:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935743Ab3BOPO1 (ORCPT ); Fri, 15 Feb 2013 10:14:27 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:51082 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755713Ab3BOPOP (ORCPT ); Fri, 15 Feb 2013 10:14:15 -0500 Received: from axis700.grange (dslb-188-109-033-039.pools.arcor-ip.net [188.109.33.39]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MCx2B-1UEvqR2G83-009U9E; Fri, 15 Feb 2013 16:14:13 +0100 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id 5760540BC6; Fri, 15 Feb 2013 16:14:10 +0100 (CET) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1U6MzK-0004k0-5Q; Fri, 15 Feb 2013 16:14:10 +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 , Arnd Bergmann , Guennadi Liakhovetski Subject: [PATCH v4 10/13] mmc: tmio: remove unused and deprecated symbols Date: Fri, 15 Feb 2013 16:13:59 +0100 Message-Id: <1360941242-18153-11-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1360941242-18153-1-git-send-email-g.liakhovetski@gmx.de> References: <1360941242-18153-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:B39Qj7ODNDv6cbUdGO2LWkUWJjiuP3F8OJoJYX4Uv+i 6z5Imdv3WkNKeS4T10eNbnQ/0WHABJkJwwGAFEeuXUpXIAq8YN hZw8ait7NoG2ByQgWtkb9DkHyUcsyoi/xQeh/SdROIiNgi5JbV MkfSHrvhc3W4kjXbJtzotnohkGoO9JLd50rW8pQkB+OdQC642Z T0GUX5uAYXkSEqfEhlsljvxxfM6ZdvYWa3Ao/SZROR9Bml7zGS lk0ads++CA2K8tR6EhNjRUEvtSJIMyHoI95PwB5lA05jU/xd3q LfpYGDz0/+X5qFOXyYYY1Fzl6tm8mZ3UC2ET8cfyHoKVum8EIO BGJWTbTGnWdpAGZAZYcXGhFLtGR0D6CvISnLSdEbD0JN+AioVy to6m4abOzedf2ungJ4pjIkuCTUR6h6YinM= 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 {