Received: by 10.213.65.68 with SMTP id h4csp1564396imn; Thu, 15 Mar 2018 03:26:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELt+g0N+uOOOso5CmVeGpBcZekgor3uJCNWRVqzpcAI1egBFuWvvFN89ndKel3K1B6yEKx4n X-Received: by 10.98.28.202 with SMTP id c193mr7299624pfc.109.1521109592016; Thu, 15 Mar 2018 03:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521109591; cv=none; d=google.com; s=arc-20160816; b=sWba/G8lDV7a8LqNoxyHtIGiZCcDk1sQvnV3PYsWqqK4TjBS9lhN2v97G3B6AYzuxd pZeqz4rmywLbZCfwA4udmy41qUYipQymVaDJ9qnqfllDhKr7XC9DaAjkAJigiis2H5Ob RXJfev8ixZmhebClcn+0ffjbFnAuY33jBZ0hbmhb7etgACH4An1q4tPdUF98ET0K6Nc4 dAUiNlSpwEfwigFEVasUnVRjMGiesNT5yhaxQN8yCD49q5EhQlO1XQ2/IUyaMXJOxoc0 LTHhjhy8v3Tj9MJfy9crWs9v2f4XV+whKmuQ6bozUvc0bfvrs768pIj3Y6/SGdEeSJ6N mM8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=O0AaOj827w7YuNGa2PJQO3on3Sn0Rn2nHqzeadHl+G4=; b=tGFa/1B/grTjZZrTokEXmcft5UcdN7iuWtB6L1MIOjtj1sYqUxL6qfX+hH5wHo7/mk 7E4CQkrzWgHgarkiMyp2wBrrxLYEQ3yXbWsg8x2uN5SrVS489G4uSFGcaMpgGemO4rDy 7P/qODLVx659y1KgnrvySF0kBEyhuUX5RjXp+5f7xb6ne+At/VMBrc8UN5gifw+vFuWZ +bGgUCqWwr063sND+Fc9zInLZvft/nquf1pUsUz0RjXq7oJ16kdfSzgm3grocvKxhdRQ Fqvt/YCc12yifApOLwVJfvd4A+t+H3CX5u0ecdN59PkqtT291zXYojgk8Z4dC6adZj0F 53kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P1vRSOKe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1si1130067pfn.243.2018.03.15.03.26.17; Thu, 15 Mar 2018 03:26:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=P1vRSOKe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751698AbeCOKWr (ORCPT + 99 others); Thu, 15 Mar 2018 06:22:47 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:55142 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751595AbeCOKWn (ORCPT ); Thu, 15 Mar 2018 06:22:43 -0400 Received: by mail-it0-f68.google.com with SMTP id w3-v6so8403272itc.4 for ; Thu, 15 Mar 2018 03:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=O0AaOj827w7YuNGa2PJQO3on3Sn0Rn2nHqzeadHl+G4=; b=P1vRSOKeCmq3Dq0//uxACiPR0v3cdPJGVgIih/G5OhrRBPDvmtAYBesi86dqYEXx3k 0HKdQxRUnI1o9TE3C2Ma5ynN1tBTsyd46AwgN11GBat2I4GE0whiv8HVb3xfAbKB7Pl2 GIyMfivjP0UX7k3NNxXdv0wvd8HBweJtAM1Uo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=O0AaOj827w7YuNGa2PJQO3on3Sn0Rn2nHqzeadHl+G4=; b=PWeNYzkaXgGLr37Cm/wQReBvojoe6euIF10yY6qdA8Obtlfore5H1yVVPHdgU7OfGP bM9RxZmWwHqcm5ekp9QUjXhuJR4oMYRstPbwaAa5FgIn/oGjU1/5TVI35UxPdvWZBodl tUMNdnamHd8YwJTRTapfYe6yYrcy+qHvFm04SJ4770p5Me+lGhYHdk10ntV/eY9X8y0p rzlJX6CMMuaMdJpsxCNMfneC+qLgoHrt/fSbSQyzL59mNk8fcDRz4iyizBy/5G9vYQua gVDMLPXeEXbNBEGc6eXornFludPaibcE+jDGSPnIESa8cByxaKWC5Mx1iNEOsKJMVzW3 Vawg== X-Gm-Message-State: AElRT7EqrfD/0OuzGDnWcrc/NaD2R+94g5yTxuVdGFj6i3Q95dIantZd KaCjy/yyMIyf1OP55kwGVW0XbXtAKPKFNEpK99viwA== X-Received: by 2002:a24:d8c3:: with SMTP id b186-v6mr5448912itg.86.1521109362336; Thu, 15 Mar 2018 03:22:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.101.23 with HTTP; Thu, 15 Mar 2018 03:22:41 -0700 (PDT) In-Reply-To: <20180223064138.18401-2-jh80.chung@samsung.com> References: <20180223064138.18401-1-jh80.chung@samsung.com> <20180223064138.18401-2-jh80.chung@samsung.com> From: Ulf Hansson Date: Thu, 15 Mar 2018 11:22:41 +0100 Message-ID: Subject: Re: [PATCH 2/6] mmc: dw_mmc: remove the deprecated "num-slots" To: Jaehoon Chung Cc: "linux-mmc@vger.kernel.org" , devicetree@vger.kernel.org, Linux Kernel Mailing List , Rob Herring , Mark Rutland , Joachim Eastwood , dinguyen@kernel.org, Will Deacon , Wei Xu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23 February 2018 at 07:41, Jaehoon Chung wrote: > 'num-slots' property had already deprecated. > Remove the 'nom-slots' property that is kept to maintain the compatibility. > > Signed-off-by: Jaehoon Chung Thanks, applied for next! Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 5 ----- > drivers/mmc/host/dw_mmc-pci.c | 1 - > drivers/mmc/host/dw_mmc.c | 4 ---- > drivers/mmc/host/dw_mmc.h | 3 --- > 4 files changed, 13 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt > index 75c9fdca4aaf..7e5e427a22ce 100644 > --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt > +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt > @@ -59,11 +59,6 @@ Optional properties: > is specified and the ciu clock is specified then we'll try to set the ciu > clock to this at probe time. > > -* num-slots (DEPRECATED): specifies the number of slots supported by the controller. > - The number of physical slots actually used could be equal or less than the > - value specified by num-slots. If this property is not specified, the value > - of num-slot property is assumed to be 1. > - > * fifo-depth: The maximum size of the tx/rx fifo's. If this property is not > specified, the default value of the fifo size is determined from the > controller registers. > diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c > index ab8713297edb..3ad07d7b2c97 100644 > --- a/drivers/mmc/host/dw_mmc-pci.c > +++ b/drivers/mmc/host/dw_mmc-pci.c > @@ -29,7 +29,6 @@ > MMC_CAP_SDIO_IRQ) > > static struct dw_mci_board pci_board_data = { > - .num_slots = 1, > .caps = DW_MCI_CAPABILITIES, > .bus_hz = 33 * 1000 * 1000, > .detect_delay_ms = 200, > diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c > index 38e0e7c4ffd9..a63ca7bc1099 100644 > --- a/drivers/mmc/host/dw_mmc.c > +++ b/drivers/mmc/host/dw_mmc.c > @@ -3124,10 +3124,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) > return ERR_PTR(-EPROBE_DEFER); > } > > - /* find out number of slots supported */ > - if (!device_property_read_u32(dev, "num-slots", &pdata->num_slots)) > - dev_info(dev, "'num-slots' was deprecated.\n"); > - > if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) > dev_info(dev, > "fifo-depth property not found, using value of FIFOTH register as default\n"); > diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h > index e3124f06a47e..80ff9a6c6fdd 100644 > --- a/drivers/mmc/host/dw_mmc.h > +++ b/drivers/mmc/host/dw_mmc.h > @@ -102,7 +102,6 @@ struct dw_mci_dma_slave { > * @bus_hz: The rate of @mck in Hz. This forms the basis for MMC bus > * rate and timeout calculations. > * @current_speed: Configured rate of the controller. > - * @num_slots: Number of slots available. > * @fifoth_val: The value of FIFOTH register. > * @verid: Denote Version ID. > * @dev: Device associated with the MMC controller. > @@ -253,8 +252,6 @@ struct dma_pdata; > > /* Board platform data */ > struct dw_mci_board { > - u32 num_slots; > - > unsigned int bus_hz; /* Clock speed at the cclk_in pad */ > > u32 caps; /* Capabilities */ > -- > 2.15.1 >