From patchwork Thu May 14 12:11:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1204 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DE9F03F077 for ; Thu, 14 May 2020 14:12:09 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id t9sf2477182pfq.14 for ; Thu, 14 May 2020 05:12:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1589458328; cv=pass; d=google.com; s=arc-20160816; b=yBzoowC0p6VNtb57q9QHsn0ztkANEYMLAxAqJWdfcgGMbKBsT/Zg6A4s7RM3is4yq0 dwBT6KZ9VNU7P+N7QF0VEY68M5D0QP9PM7rqatGjgigylKNwH6qBx5FHuRzgheqvZVLg AHT5ASqhoMy7oLHvlKGyMH6iu2+72QdkTVqs8ALOA2gK9+l9D1cu8BBMyRwvhNLQ77w4 6EsDbqKIsu/Wp9n/MCCYpuAGO8v9zSxELgFx/Ld93b6aOSZh6bmnj9UpZCglM2KgPdM1 CyFcWvKPbrtxuZhwt7ypAEqeESFPXzfWOKDOCLt/e/fFxdofmUam6xI87H+Zd9Sa50XF y7Ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=aLuKK381MQqwwWmHcgPJRnVRFpKSI/1wUIE9QSf2cuk=; b=0CGiUcbFlKlTBD+EyAvNKRMvzfjQNN16I2OOgZ54JTZ+cVH/UJ5pN/gx/bfAdJJL8I AJ0QFe14VaHQSXTGhlcfjr7kqgK65hfQac8GTAx2FTGKGeofrIe/FjqwS0fqtHX/NqUJ luM9glbBngBftISs8+Js4uk9IAp6WTYY5ffe1crQtdBhjKfpKOMEexEl0WFMaQx9asXW uua0HfzujYMw2w72eovKPNopOZVNY6vFUSAGH4A/X301voNoqK4xGxCkU9tJSccBdHv2 T/h2PuiHnA6i5pP0wsy9csy/pDC6Z1jOPo1WDWyB5rxr0+jQtmnzfXIYHIlPgeqKtild 1vLw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kenfB3VB; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=aLuKK381MQqwwWmHcgPJRnVRFpKSI/1wUIE9QSf2cuk=; b=l+7VzSU2O4j/YmePGljsYeDTMKr7l3J9546f4ZVwHRtvdRmBJPvygn1Vb1zfD8J1RF +HFOdZy1RiCzGEeEUk9TUWTdZV4/3gNWvrKABKOmSidK76OROBOnRXiDkjo0hL19OZ0Z FANwmm9Q3HTCv1IYKFLPwruqp1wdo6H82Lj58= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=aLuKK381MQqwwWmHcgPJRnVRFpKSI/1wUIE9QSf2cuk=; b=adZHrHVvT9L57WmKWDzWEkESNTdWCF1DAbYzuLYPgrNmK5UC2G9Zmun38EWLjXugQ8 qEOVC99ioST6gJFJlCSVvFuuXr3KkVYIrNNMoCPmmnYu7bdPkeF6g0w4tty0oKTHu9kz HkUdk8km7bDHVd939QTpD23yXRoYdUiNt2NLAS6R4ws/6QvTOXrMdJP/9qr5nDNcuDrA ZqCkcW6bA1VVrMSggt1bH8eVGC2wp54+U8drqagfG2jD1Z0e61/1Tfg/wJszgbxAaOJs mYZNRsy3uuEBwOJDYMyNImsxoG4Dp8cTa1/UqPoM7vJDx2UIfTejS0WdYl39pPoiYnrR sFXQ== X-Gm-Message-State: AOAM532KOucgmCRjjcWqtKjuzHe4nxH+UngP93KcWJ9H+e58dGnepB1M mkZ7qdKT0dfPwijP6p7FYBJ7Bv4n X-Google-Smtp-Source: ABdhPJyHGbQg20L/3fC1UFbXTlqx+As6pvDuwxaeXeHE4SnGj+l03NsvarLFAVyK+cACswK3wy0KMg== X-Received: by 2002:aa7:81cf:: with SMTP id c15mr4266322pfn.211.1589458328669; Thu, 14 May 2020 05:12:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:3543:: with SMTP id lt3ls2682713pjb.3.gmail; Thu, 14 May 2020 05:12:08 -0700 (PDT) X-Received: by 2002:a17:902:32b:: with SMTP id 40mr3712632pld.73.1589458328227; Thu, 14 May 2020 05:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589458328; cv=none; d=google.com; s=arc-20160816; b=e1Yv9bRz91/gZMUzI3s61NEYDwbHJ5tZtsffiSkKmbYs2O2QLBhkMRXlocDIpxNr6+ +bkDHnzTJH4oiovBTWu6fKyQ5M9eacuCm3LO45TRxTp6/lG+Q/I1AB0OM5P0htYDASQs 6AApauWLQcMUCcMSVfKHZEtLDdPoyJZ169XpUHwWbxPup1jObVjwZCMwKzrIgZrPJ8rm 8r81Lp8i2JvXiRDIAQBSHRvRRvd4xHaDXOJ5Dtr7LH7Xilu8swS0Pap8htFNme32fgbf 0jFxaqyIoG7ata8uFhAipx2GsbNRAEkGZA3RmKCYcC68hOYmmoyBnHnWQeH+9OEytz/I NpDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=m/DH5RW0uF7WE0KGtRBItEntdC2YchSgP6szkh7SOLA=; b=vXnNPfNRKpiAviWevjUMtYj8UU17NpLMHtSDx/IGYAQQM/3nXGFUHvTlDCGVPF7CuE Ymfa3A9xQeEH2PSYPZ92+psr6hyu0MqgoLvQ+zopCMXvICxZ2WlJEAmYGziTL/fDpG5/ C4pKQ2WBYWKYvDOS6GaQvJGpPeiFGZ29ijZadMwOIwjoEGfK74bajeLVVr3StxyWVwmp 4XYfFkQJX2U9kxV78Y0hhC1PbV0iHmiCK8u77NYj4rVV6u6OpE1NevlSjMJz5U0olXQ2 0MfI3bkisnLESXfqGhELUwXa3QVBlrXzaBGuLYG2aqQaBc/ZbU7N4Di3PCuqtjGRzBzt +t4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kenfB3VB; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p13sor3462176pff.77.2020.05.14.05.12.07 for (Google Transport Security); Thu, 14 May 2020 05:12:07 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:aa7:9ab6:: with SMTP id x22mr4137491pfi.136.1589458327619; Thu, 14 May 2020 05:12:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:713c:4a0a:47eb:ffcd]) by smtp.gmail.com with ESMTPSA id r31sm2091050pgl.86.2020.05.14.05.12.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 05:12:06 -0700 (PDT) From: Jagan Teki To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Jagan Teki , Simon Glass , Vignesh R Subject: [PATCH 4/5] mtd: sf: Drop plat from sf_probe Date: Thu, 14 May 2020 17:41:44 +0530 Message-Id: <20200514121145.28737-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200514121145.28737-1-jagan@amarulasolutions.com> References: <20200514121145.28737-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kenfB3VB; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , dm_spi_slave_platdata used in sf_probe for printing plat->cs value and there is no relevant usage apart from this. We have enouch debug messages available in SPI and SF areas so drop this plat get and associated bug statement. Cc: Simon Glass Cc: Vignesh R Signed-off-by: Jagan Teki --- drivers/mtd/spi/sf_probe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 72b6ee702d..89e384901c 100644 --- a/drivers/mtd/spi/sf_probe.c +++ b/drivers/mtd/spi/sf_probe.c @@ -140,13 +140,11 @@ static int spi_flash_std_get_sw_write_prot(struct udevice *dev) int spi_flash_std_probe(struct udevice *dev) { struct spi_slave *slave = dev_get_parent_priv(dev); - struct dm_spi_slave_platdata *plat = dev_get_parent_platdata(dev); struct spi_flash *flash; flash = dev_get_uclass_priv(dev); flash->dev = dev; flash->spi = slave; - debug("%s: slave=%p, cs=%d\n", __func__, slave, plat->cs); return spi_flash_probe_slave(flash); }