Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6521232rdb; Fri, 15 Dec 2023 00:22:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0PYn8VcQM8P2jw1/v7BmjhfoyijbLnObncMotOPwfgYSIGyiWve+r4VonGFTIeJxhUsWT X-Received: by 2002:a05:6122:4d18:b0:4b2:d42c:2d67 with SMTP id fi24-20020a0561224d1800b004b2d42c2d67mr9318175vkb.32.1702628573395; Fri, 15 Dec 2023 00:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702628573; cv=none; d=google.com; s=arc-20160816; b=IOwgrJGt9DjX4JG4V30V1eLLTV7JID70/xEOdu2J3rGguAdFP/kpy85LIQE7wmC05M hcZ7Hgp3hv8PFAneuy0icHV+RIR5Lx2Lk8nmMKDhtx5hTPZdH1DACOb3oqIwmyNLneFg SyG9PyJBsoaL47Ia2QRVZ+55F8OYw1Ea7sOC6Ps1Vd3Ebp+poqR4U/bhdngm+/rMG707 OAmyPa9GaFUM2+6z3k+uZuOKlUgw2rxqwkpcd1dsR9nzz0ZhULJQpR3pshS2DfDt6OA6 1SSHluAL1xdPrtoZOp51CzLP2ci1XlMGDSICW7NzjiIVYCs25G0JmuGJw1Rz8K0L7XLX e/Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TuJawO4SusZv8/FICQYIvQK4zSxUomciGjXfeupkpPM=; fh=YVYGvP291ZkBJgQJkoi94ddctFCboB5G1PFuo4//hOs=; b=oa3XXYUFAjHpPN3cMUSxS3QPk7YVrtpOpzZt0KMSGfdiewUK3zOfx3nHN+LQGPHfwC gnL0khs0GsVfxSP9aB1o7nKy+SZoHmdCD6msyZPdVdq+pyCpBNKcVy7XlkdQ4ZKEWWgE ZOaR/Mw4R+VfZSdkuWHuEeGbUPVEf4VRSyhG0zg+OdSfu5Tw+OJ3oBl1MoJfzOn19FJp kuSJ+njOplJw7R2NAEHwtPdkux9lq9klCjP/0Ygcjy1GasU5uapwrcVNb7TGG0rGdaF8 gquTziyuBB6YcWaTQFW+mQbz/e/q4sUZqu0s6Yr9k/tZZAJ+kSExDxaLi3bOdVaLjV2G CKfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OFu3vEQG; spf=pass (google.com: domain of linux-kernel+bounces-609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x7-20020ac81207000000b00423b11a3cb6si15692626qti.120.2023.12.15.00.22.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:22:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OFu3vEQG; spf=pass (google.com: domain of linux-kernel+bounces-609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 13D681C22660 for ; Fri, 15 Dec 2023 08:22:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20E9918E2B; Fri, 15 Dec 2023 08:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OFu3vEQG" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC088182B5 for ; Fri, 15 Dec 2023 08:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40c41b43e1eso4677325e9.1 for ; Fri, 15 Dec 2023 00:21:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702628508; x=1703233308; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TuJawO4SusZv8/FICQYIvQK4zSxUomciGjXfeupkpPM=; b=OFu3vEQGw3noi41QwdOnUqkSZ2qQl2fXzpgSdp1zAMqZTciVFG+iB372kFP2cl2syd vfG7GgZGLw+LhH523fGGh/zvoaCuWfk9MeNXfhMLuO4U4np/geKJkgaEN6c26vcZL6cv 7IIFuIE/5Ugs5MxPq5U8P2gyztzq8Ul9NwDTfVOtNm+MkRa9J3YzvfykmQ3vQBtY13oV stW/CE9+3j1c21SM8eQJkDgpHuCgvWbkc10vL/IJD0pH/1nh12sPPyFo345JwC4B6YfP Y4SIDZvb34Zq9cqdcMiQYS0YpLD+V0hhaKiiennmWm8vPujPCbFs6PNuHtafxOk4FVF/ lsiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702628508; x=1703233308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TuJawO4SusZv8/FICQYIvQK4zSxUomciGjXfeupkpPM=; b=wkeg5vo36kzcry/EZ4qUBLB7CgrxFVZOO5odiOqcJQ9eRv78hMN/9QasbgBOa+ahc3 0ta6bb3++JPqFgjHfQFCwgxqdSqJJQLbd+cqCztJqRglu8HuI3L5nWhZFMze2X7mx+qo KzikTL+PEv76DVgRWfXzhdT6viG4Dw4Hvv31C18vh1Zqm0PUFO8LHXGp2KJNuF/IfVWL DqKPAVEzWJ10E1iya43cic18dn/G6GGMEeivwRqce+B6KXPPUyWXBUq8XlfsNXkSJh0M WXUC5KPMPX9xkUCAi4uhIVn6/TecAfUS7XcU8pXTl4/XBLxPU7tXd/to9uAJSf1oB9EE mfpA== X-Gm-Message-State: AOJu0Yzx1W2a3X/rZPEpZs8uQOLY51qzKDFnH13irkAcR5fU21l1fjVI p2PMb5HmmdoiN8zzzaTB3M4aSw== X-Received: by 2002:a05:600c:292:b0:40c:260e:1bf6 with SMTP id 18-20020a05600c029200b0040c260e1bf6mr4922669wmk.192.1702628508089; Fri, 15 Dec 2023 00:21:48 -0800 (PST) Received: from 1.. ([79.115.63.202]) by smtp.gmail.com with ESMTPSA id p1-20020a05600c1d8100b0040b47c69d08sm30365570wms.18.2023.12.15.00.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:21:47 -0800 (PST) From: Tudor Ambarus To: pratyush@kernel.org, michael@walle.cc, miquel.raynal@bootlin.com Cc: richard@nod.at, jaimeliao@mxic.com.tw, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Tudor Ambarus Subject: [PATCH 4/4] mtd: spi-nor: drop superfluous debug prints Date: Fri, 15 Dec 2023 10:21:38 +0200 Message-Id: <20231215082138.16063-5-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231215082138.16063-1-tudor.ambarus@linaro.org> References: <20231215082138.16063-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1327; i=tudor.ambarus@linaro.org; h=from:subject; bh=g4bufmfMS6w03D11CI2uGLsvxqA3io9spWS2c3zko/k=; b=owEBbQGS/pANAwAKAUtVT0eljRTpAcsmYgBlfAySTlx2lf9cwP4qqsgz/vxDdsVq7T1ap/JJI BpGZZFzFMiJATMEAAEKAB0WIQQdQirKzw7IbV4d/t9LVU9HpY0U6QUCZXwMkgAKCRBLVU9HpY0U 6Te1B/0RAVmyu2FL3aavzo1rPOrgqcXWHparU1NyB6HBFb6+5q5BQ2Sglzlrm7fsREvIdcQni3f k/SwZgWKcJ8caUR4mZJJnTTwuV9e+Y3hPkLUNlK74SBOzxZ3UuvugVxykGAvUYjT1vhUixxKLnH p17ELt0f8QR9bxPhHZ8rn/S25uX/36CcDFIrtOK/bdvW6Sbv2q3wZPXfnNlMfZzi2e12t+ok4Mj lMkdls5z5E54mrtjOfxS+isLi1qEOaro8jjw9i4RvgZA9fl1AH5/xssRUE4oCrV7uZYivrvG/nu /e7opM8CRO2jk2kLLEp/XqNtuIuWWYgomUXVDUeeWabi/K4T X-Developer-Key: i=tudor.ambarus@linaro.org; a=openpgp; fpr=280B06FD4CAAD2980C46DDDF4DB1B079AD29CF3D Content-Transfer-Encoding: 8bit The mtd data hall be obtained with the mtd ioctls or with new debugs entries if one cares. Drop the debug prints. Signed-off-by: Tudor Ambarus --- drivers/mtd/spi-nor/core.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index ca5bd93d1f17..a708c3448809 100644 --- a/drivers/mtd/spi-nor/core.c +++ b/drivers/mtd/spi-nor/core.c @@ -3561,22 +3561,6 @@ int spi_nor_scan(struct spi_nor *nor, const char *name, dev_dbg(dev, "Manufacturer and device ID: %*phN\n", SPI_NOR_MAX_ID_LEN, nor->id); - dev_dbg(dev, - "mtd .name = %s, .size = 0x%llx (%lldMiB), " - ".erasesize = 0x%.8x (%uKiB) .numeraseregions = %d\n", - mtd->name, (long long)mtd->size, (long long)(mtd->size >> 20), - mtd->erasesize, mtd->erasesize / 1024, mtd->numeraseregions); - - if (mtd->numeraseregions) - for (i = 0; i < mtd->numeraseregions; i++) - dev_dbg(dev, - "mtd.eraseregions[%d] = { .offset = 0x%llx, " - ".erasesize = 0x%.8x (%uKiB), " - ".numblocks = %d }\n", - i, (long long)mtd->eraseregions[i].offset, - mtd->eraseregions[i].erasesize, - mtd->eraseregions[i].erasesize / 1024, - mtd->eraseregions[i].numblocks); return 0; } EXPORT_SYMBOL_GPL(spi_nor_scan); -- 2.34.1