From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D286F34F253; Tue, 16 Dec 2025 11:47:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765885632; cv=none; b=biSxqdi0qxO/HpUsvvKg7JTcUG9ZOYRpMPhP05UKh9A6toIQadxS7O+2bLQrvVs91FEA17BfOI4FzpEtOO5PjK6HZ8+EYYgH9jTz2C8OSvf+GxvyUEcrAJ8rSR43YNdfNvHxWlX1i6KiQd3QeRu8gOlX4ojsGwGhldmc4TmC/nw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765885632; c=relaxed/simple; bh=J3Llavay47I6AuWNYYOY8P7OoMXZavBA9bGT74STa4I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h/sudMdM8WkDB0cJvMxNRVwwvRcTd6SuA24MQagK6N5EyVK8jBgqEeFrkJX6bIu79gHFfrPx3DiRbDvl6QumAxX5xy8IeGJrdTWFTmi4lhS3js/KORmpU6b+rGr3ddNyW0/xvJrQeaZhrA9hCxPzILiUeym3K12lSLuUQFQBVZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pGmC8vcn; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="pGmC8vcn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A6F6C4CEF5; Tue, 16 Dec 2025 11:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765885632; bh=J3Llavay47I6AuWNYYOY8P7OoMXZavBA9bGT74STa4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pGmC8vcnccBoT3zc94uXex5xtIjinE2MsOxRlECcgkMiN7ymwiu5eu22QwUdS2dMr elBdz1wCzy7sHcdE257SJSw2z+O8yJbYTWFPqgF+LHrFAJbeTYWISwhvCgNFvvuTl+ 9YFj0bsxpjRHfNrNe1E5eZBTKWvYUPVs3DnRrDys= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Rodrigo Gobbi , Andy Shevchenko , Jonathan Cameron , Sasha Levin Subject: [PATCH 6.17 197/507] iio: imu: bmi270: fix dev_err_probe error msg Date: Tue, 16 Dec 2025 12:10:38 +0100 Message-ID: <20251216111352.646073930@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251216111345.522190956@linuxfoundation.org> References: <20251216111345.522190956@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Rodrigo Gobbi [ Upstream commit 02f86101e430cce9a99a044b483c4ed5b91bb3b8 ] The bmi270 can be connected to I2C or a SPI interface. If it is a SPI, during probe, if devm_regmap_init() fails, it should print the "spi" term rather "i2c". Fixes: 92cc50a00574 ("iio: imu: bmi270: Add spi driver for bmi270 imu") Signed-off-by: Rodrigo Gobbi Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- drivers/iio/imu/bmi270/bmi270_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/imu/bmi270/bmi270_spi.c b/drivers/iio/imu/bmi270/bmi270_spi.c index 19dd7734f9d07..80c9fa1d685ab 100644 --- a/drivers/iio/imu/bmi270/bmi270_spi.c +++ b/drivers/iio/imu/bmi270/bmi270_spi.c @@ -60,7 +60,7 @@ static int bmi270_spi_probe(struct spi_device *spi) &bmi270_spi_regmap_config); if (IS_ERR(regmap)) return dev_err_probe(dev, PTR_ERR(regmap), - "Failed to init i2c regmap"); + "Failed to init spi regmap\n"); return bmi270_core_probe(dev, regmap, chip_info); } -- 2.51.0