Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp239464rdb; Wed, 20 Dec 2023 10:48:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4NGz3unnLnNNUL2xX9SaiCLFJGXF+cemxqUbsGpZpVPwJR5Gd3PS33c5stF5dyiGM+Ry9 X-Received: by 2002:a05:620a:40c9:b0:77f:b8f9:d183 with SMTP id g9-20020a05620a40c900b0077fb8f9d183mr11120376qko.108.1703098084802; Wed, 20 Dec 2023 10:48:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703098084; cv=none; d=google.com; s=arc-20160816; b=A94XAmowZFq0am4/8KfDIKAUQw38onI1eS88Pxd2xDOQp/zbUPUeVeFFEx7BmuW3Ok EK7DVRuIIcuQCX1lOREbk/nvjV6wK++nNpiF4U1DKlO2VSsDuIM43l0DkkeV+d/ZODOA oBUOBIb0Jq18gGg84si+htdedRTp4CPFO2vsf+A+kYCAM7GC4OEXHzZRI8ROtjGOA7Rr PECSFf/mENXG8HsVHpVJq+jDTUaDEz60CkjPm9ssyYDrNV0Jx5qIRzxRVvTMCSeqY64M SH+qeGmyLKLQ+yxIBlk6dcntYc+4uf13WuJTEJa9Armq4atUA/o9MhDl9mHqB0xslvfb +jfA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=XSQemk7U39WKyikso39pwz5Iu5SNEeiFiZyYBT6nCdE=; fh=HyUXDG8N+hQpEFdVgoYqJc8kSOoVj0bJ1OEnlfJcH70=; b=swzQwVpUmqEfyL7HBXXQekSJBe1rb9ovQBXSJrXbsHuIDET6vdGhkXRvCXT2q2JcZ4 nL/ikCnAPKLwI7zeI/czRPRWd4cnSlOhCpfwCUv+VrPFIB+oah+1tZIRYefD5M/i8mT9 Ul1EQqo3HuwIX6tsF//B0PmxVqqOS+R4gaOLPWgQRJ2diArjNP7N0+X9cTfpdEL3TJzF honTWYO4J5Ykji6ihdWEmD1QgE7CJRB/isyJ7xzyy+dgxI3NWATHZcetLgMkC+OmiBnh iNnV6wIlY4vdZUfGoLhaozQI6xIyspcuPcq+vNf0wjl50nrKaUfF1XHKe1MtePSs6G4a ppUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t5MlsovE; spf=pass (google.com: domain of linux-kernel+bounces-7379-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7379-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 i6-20020a05620a404600b0077d863518c2si357298qko.385.2023.12.20.10.48.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 10:48:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7379-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=t5MlsovE; spf=pass (google.com: domain of linux-kernel+bounces-7379-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7379-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 844561C23159 for ; Wed, 20 Dec 2023 18:48:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EC3D482D7; Wed, 20 Dec 2023 18:47:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="t5MlsovE" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (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 E2F0AC13D for ; Wed, 20 Dec 2023 18:47:55 +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-oa1-f43.google.com with SMTP id 586e51a60fabf-1fb37f25399so3358208fac.1 for ; Wed, 20 Dec 2023 10:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703098075; x=1703702875; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XSQemk7U39WKyikso39pwz5Iu5SNEeiFiZyYBT6nCdE=; b=t5MlsovE6pCE0EgNfHUcT80Dv057h/EyaiN9wsPdWjI4zE47b5dtUDKx6fxraSRRjD d2WlZE0AqjblYrum1drtuxGZKGAWtDRHBLlmfWvQFpHosPyXiApDE8/mNwYpRvcxknba gYYTOQg9evXd8Uhe5IY73lO3iu5XBesfS5+3f6B8F+a50O42Q+Ge386XSR4NssPLyg8m /QLU61756WWq0sx//hWWPDZCzmTIuXRhIiaLTx+WY0VPu6oIVtT4JekQ3ieyyirfVwtZ sSRWgDyZxrT0dgD1O3uxsPoWD1uiHhIjwBiywz+PFrIeO1RDlyCJ6OmSeaZ6M6oygMkK nwLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703098075; x=1703702875; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XSQemk7U39WKyikso39pwz5Iu5SNEeiFiZyYBT6nCdE=; b=WcSx4D7aNG0lF657iFOsbJBDsQkI92OtQRZ5Fv2inGrRxav91a+VzL7U5JJvJlw8z3 cMm2ZALURlLcT2KKSH8p0kRwFvWYgpzBuDmokeW0NKlfUI/mxJnyLGEZS167vG5yzn0o EQcFUXjaI2LwtSdsmQYGXEXGWfj8QALSIEdKSjOXq73mjnGvrtRX6qNIldvvIRQUeByq 8gbSmldCTFFzLZo/g9g1YP5gXhXDYdBkWvI73TnYQxGga8AljPInEY7t93iQbNBF6cbA qSgNt8DgN2z/ryvd5ONuNw8auwV/aInIxbmEtTQcMFSnUePPZii/MGzK9owN6k3ddgbW kPvQ== X-Gm-Message-State: AOJu0Yx2tvD0xjiv1s/bN4lbrkuvlULpD8mplIJqD/ir0GSZRa7eEBiZ EiBL6nMcQ56fuO+d4D/rvx1DcA== X-Received: by 2002:a05:6870:c088:b0:203:b01c:e99 with SMTP id c8-20020a056870c08800b00203b01c0e99mr195364oad.97.1703098074970; Wed, 20 Dec 2023 10:47:54 -0800 (PST) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id oo15-20020a0568715a8f00b00204059b76a0sm53721oac.53.2023.12.20.10.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 10:47:54 -0800 (PST) From: Sam Protsenko To: Jonathan Cameron Cc: Lars-Peter Clausen , Andy Shevchenko , Angel Iglesias , Linus Walleij , Akinobu Mita , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] iio: pressure: bmp280: Add missing bmp085 to SPI id table Date: Wed, 20 Dec 2023 12:47:53 -0600 Message-Id: <20231220184753.6472-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit "bmp085" is missing in bmp280_spi_id[] table, which leads to the next warning in dmesg: SPI driver bmp280 has no spi_device_id for bosch,bmp085 Add "bmp085" to bmp280_spi_id[] by mimicking its existing description in bmp280_of_spi_match[] table to fix the above warning. Signed-off-by: Sam Protsenko Fixes: b26b4e91700f ("iio: pressure: bmp280: add SPI interface driver") --- drivers/iio/pressure/bmp280-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/pressure/bmp280-spi.c b/drivers/iio/pressure/bmp280-spi.c index 433d6fac83c4..e8a5fed07e88 100644 --- a/drivers/iio/pressure/bmp280-spi.c +++ b/drivers/iio/pressure/bmp280-spi.c @@ -87,6 +87,7 @@ static const struct of_device_id bmp280_of_spi_match[] = { MODULE_DEVICE_TABLE(of, bmp280_of_spi_match); static const struct spi_device_id bmp280_spi_id[] = { + { "bmp085", (kernel_ulong_t)&bmp180_chip_info }, { "bmp180", (kernel_ulong_t)&bmp180_chip_info }, { "bmp181", (kernel_ulong_t)&bmp180_chip_info }, { "bmp280", (kernel_ulong_t)&bmp280_chip_info }, -- 2.39.2