Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2218007lqb; Mon, 27 May 2024 11:39:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGuoDPghJe8svsQahb5lIm1FKa/JcVMxu/kGa8am+sDkSrx8GFNgE2TXe+PuOs3YGBGdqOKXe4meQD5a/h+Z7MxyJo/EpXRlHqUTFABA== X-Google-Smtp-Source: AGHT+IGQHWckEN9YnlGfLoN7vmYv9jS57TgOBkL1f32dw3C31+L7M9m6VJ/gf0NRRJ70h+IWEgWr X-Received: by 2002:a25:84c4:0:b0:df4:d29a:6897 with SMTP id 3f1490d57ef6-df77218f252mr9196469276.35.1716835161548; Mon, 27 May 2024 11:39:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716835161; cv=pass; d=google.com; s=arc-20160816; b=u86VdTwww3LLeOKIzc9jTV4pZJTwwUI+iO+8/yxdVWMMUFjQS9exfyL1BXlxwRgPBB pvyXQVLUjfo1flc6pbpEHM6AeuWpoXvWywXlZq3f7ncJYiHreSq6sx5XXCjMJp5/tztx gggBebiRD0t0QwFBMoBaaaiwPwN3/zDbyT5LDMAZu/Fqpqdb74mVQa+jsvLcxUZC27AF oZy38amAIzeNYz5mMt6sbgP1CyAqpZFt8DDZAXxODXKeogOkusWVWaOfIDEpFz/RxRO8 fy/7VLm2mpkm9pv6waGAzv2ooA36FUgQIL8WyCzEZH+cugUwdLnOI2Rt3/rq9m+rzAAm iuLA== ARC-Message-Signature: i=2; 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=FcTV1qQ2q91YjgXekUdE0FTmBFj0P4pw7uvqhX9sQ4E=; fh=zTh/LnSjJQao4XQ7Tsm304BOGOrXPCR60MXckXh6BWs=; b=k/F9XHZEkeI+mFbcugKiZTcWEcnUItpCZSNiTAx4u1qMih4TGzB/skGdCLCv4AZhf2 XsIzIe2p/7MUaT48/Fmoscy961g/+gJyCIX+SkM2pLiBNFueOVRpEGKzabzP/o4IHZId C0IXgfC+W0C1Y2mU4ca5qBtr7xVtMwYEM42V/pHTQcM8xZbVzWt/bwICE5stQJWLFts7 l/fLZgiAkjz8YcODiiu6VOhxSUu3PNxHLFBcIl61z19SV1qZV3NlMyLm085wuI1nIB2R HjRFMkB9b082kFC1m1hAVVEku3sZhg0oz6crsntVxExl48u/mpvcCjBrWwJKBnhamHaf ZmqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AuTLqu2B; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-191330-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ad7d8a2bd9si35041406d6.393.2024.05.27.11.39.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 11:39:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191330-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AuTLqu2B; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-191330-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191330-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 4A5AD1C2159D for ; Mon, 27 May 2024 18:39:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91095161924; Mon, 27 May 2024 18:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AuTLqu2B" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.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 28A36160796; Mon, 27 May 2024 18:38:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716835101; cv=none; b=tI3m582Pok1yJ59bqxHWHAsa/eBmtD7XTGZAJpwzChaIpTspX6Cttt0D/tYIYpGWS/9GJw9PDa7Wy7QGwz5uPqrDR6QDwI281hkXPdplDmvUBVDos1bPDzS5mdoUTr+i+hHOpFytqSo1wZS3J6sy67If7lj8Wb1d/WOapJMylFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716835101; c=relaxed/simple; bh=wg8PkYq2vv17rsR/l8nMQ5doyUXlPzOS6Z0DMcQ8DJg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=s09nb2FZOrGL5v0m9sfoO5vLH3UGTyk2suPoXAWml8uUwwBXsY4fTjXdweQzhabom0lgHWCGss4Pgtm23frdI0Niuh5m7DzS32PL/EU0Hya0CL9GtNyD9dXPFka2UFhV+Mg2yadrY9R5V45SytfbIkJObAcosHTOHsDvCniG8uw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=AuTLqu2B; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-5295a66e775so82931e87.0; Mon, 27 May 2024 11:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716835098; x=1717439898; 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=FcTV1qQ2q91YjgXekUdE0FTmBFj0P4pw7uvqhX9sQ4E=; b=AuTLqu2BP6wbzz5SpIAyLzp0cuPkBLDQ3Yuq/3a4Dsom3A70h0N5GVBcorxsEvZ1nY eCVYbxNePmABadNrBHXqKYeFJSILKcNNwxOxndnMg1a3E/G0TqWBqWRV1G75YvsvTeWK sJCOLl0O3DB7gUYIQ8HND0iyUNa951mRAA4GVqhHfPgJk7/FyVJCdV/PfLatWjxguAlS lYhCZjiHPyq61uR2i5ob2UorzqQrrosgTkH1nOz0ZjpZXMSUYfGlIzdLjWcO/ccnJHa9 ni+j7biTDlxtagiZTe+kECX75bZvQhC2zYnmGFclCkfEPfudOn0MmY/VdRIVKq61epuG JELg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716835098; x=1717439898; 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=FcTV1qQ2q91YjgXekUdE0FTmBFj0P4pw7uvqhX9sQ4E=; b=UwNOrtgJX9A/qykinaV2w6GZyWT3oYSHX+F6WjvBQ3EnyhpMyU/Id4kqd3uGcnz20a +2XtI/UBDJsh+b5geH9TYCjjWFZyuQPjM2wUyuExB756H7RKUj+jpKVAz6w7mIqNVIr+ VByH7xa4KKAipKk/YtKRb3pAByPSKCFepwRrtlzjkKWYC0kHXQaxP31TYzjbR54nfTSB k0nZPMyhgGt9v0HAHB0SY5X71gKXi/6DLsPF18ncnUkgBXnEdbmVlU0rpdEg4opYDqy+ LqElAshd8uw5iZfLBm3HhueuiIiBiZk60hLJ841MFLHKs/swHHXs1541b+p24QzGGokX MiRw== X-Forwarded-Encrypted: i=1; AJvYcCVcM3VlmEb0rJHY9XxkP1QG+wzDRcwrA/Pc8QJupW6mO4WocuMN+NDqPn1AkD0EzHOBiMw94eIy4cYUpdVlmCGtGcwmS790SyAFbO6x6BXdB2OP6ycwtEhhEh6EYgcrbClHtzxWqLig X-Gm-Message-State: AOJu0Ywv6FBd5PCuLD0U6DR98Eg3wHBM18cVt5568QIA3FfsKQvyIkld aM2aTdOZuOD+Os+hdCJFjc3VOUTlvl1E+E/SJatkDNz6t0KQYs5w X-Received: by 2002:a05:6512:3c6:b0:523:8723:32de with SMTP id 2adb3069b0e04-52966f8f472mr8776908e87.53.1716835098035; Mon, 27 May 2024 11:38:18 -0700 (PDT) Received: from localhost.localdomain ([2a04:ee41:82:7577:4b45:3774:6be0:a177]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc52398sm513825266b.105.2024.05.27.11.38.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 11:38:17 -0700 (PDT) From: Vasileios Amoiridis To: jic23@kernel.org, lars@metafoo.de Cc: himanshujha199640@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Vasileios Amoiridis Subject: [PATCH v1 05/17] iio: chemical: bme680: Fix type in define Date: Mon, 27 May 2024 20:37:53 +0200 Message-Id: <20240527183805.311501-6-vassilisamir@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240527183805.311501-1-vassilisamir@gmail.com> References: <20240527183805.311501-1-vassilisamir@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix a define typo that instead of BME680_... it is saying BM6880_... Signed-off-by: Vasileios Amoiridis --- drivers/iio/chemical/bme680.h | 2 +- drivers/iio/chemical/bme680_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/chemical/bme680.h b/drivers/iio/chemical/bme680.h index 4edc5d21cb9f..3133d624270a 100644 --- a/drivers/iio/chemical/bme680.h +++ b/drivers/iio/chemical/bme680.h @@ -12,7 +12,7 @@ #define BME680_REG_TEMP_MSB 0x22 #define BME680_REG_PRESS_MSB 0x1F -#define BM6880_REG_HUMIDITY_MSB 0x25 +#define BME680_REG_HUMIDITY_MSB 0x25 #define BME680_REG_GAS_MSB 0x2A #define BME680_REG_GAS_R_LSB 0x2B #define BME680_GAS_STAB_BIT BIT(4) diff --git a/drivers/iio/chemical/bme680_core.c b/drivers/iio/chemical/bme680_core.c index dd2cd11b6dd3..8b42c4716412 100644 --- a/drivers/iio/chemical/bme680_core.c +++ b/drivers/iio/chemical/bme680_core.c @@ -719,7 +719,7 @@ static int bme680_read_humid(struct bme680_data *data, if (ret < 0) return ret; - ret = regmap_bulk_read(data->regmap, BM6880_REG_HUMIDITY_MSB, + ret = regmap_bulk_read(data->regmap, BME680_REG_HUMIDITY_MSB, &tmp, sizeof(tmp)); if (ret < 0) { dev_err(dev, "failed to read humidity\n"); -- 2.25.1