Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp756912lqb; Wed, 29 May 2024 09:35:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7GN/h3nPRtWwg6p4UTqu19DYU2Y6Hh4EwR9dnGPjMBizS4mihu4sQVrRRS1nJMJgoJrzUXBKwIjBwMLOUe0+0M895m26zArIOh0bRtg== X-Google-Smtp-Source: AGHT+IH36S3uFEsxm48M+j7Cyi6VcGvRuW9h8tje6b404rWPXgncAheRlZpHvwPrzRNtPRpn8Zk6 X-Received: by 2002:a19:5f54:0:b0:51f:3e0c:ace3 with SMTP id 2adb3069b0e04-5296594cc1cmr11343177e87.16.1717000535937; Wed, 29 May 2024 09:35:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717000535; cv=pass; d=google.com; s=arc-20160816; b=eTbAC8/Wqs0992cSwoDI9IRVf0yIqVCKiApoVFLXjQOBJufNKu41Vp4OXGZW9LuWkE JcRmc4SeL68tIYEds848HNY2/BgJOJXhUZTvmjkw1byFtCWOPjP01HlxvJHfMTc2tXGz DXUEyU/ZV0FiDDC5luV/orJuvX06XsXL4xuhkxMfCDESbjNqWN+1VT8v7gAJ0U06Stj5 vPJQsk/Hr0BeA2zV5nHWvZB6X6v+Y1d7UuTIpAyxbADIqlKo27ySPav7cecoA2X/4oWF IVPfH8SaLGjS5bc8JQ69lmVAqiu2YtjH/wzd1W2HU8A5F/ZuetOAa9FiD8QmqZLL/TBW KYjQ== 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=XfCRq3o0xB5pahzGLrht938zUzMO2fjd3j7w0TNBxRw=; fh=x+Zd7UvMx2t8tXw5ng9M6xK/nnIPEHXRKsUbNBmr8uk=; b=eD2LjNbaPE+pRGXvVbZfQcSEbTWK4dJj8mQi4qQWOnusz5QDNSvjRiAhep6FbtHUQN q8TDzQYx/2NJWYPw5ANROTIsTu7SIh+Wx7ABbwl7qC6/acU5OqxozGVc+2T7fKJ+0zuV MiNk2V4FV4TWgGN8fNoFc3sTSRvqlxu4NhVJ/9kEb5cksqlxZTpm/cjVbyPfC3Qes/Yz R0gGXP3YRREu1H5aUcRqpQ4wvmdr6LGIcdVc/JTvBZkpJaFhR/PcLp/g8yvzwH4rAXiG xQU82BmRrsNx/ui7dMX+hWuBqUUlefKY8upa0zYIsUIwwW7hXZv2zt72XH0OlnfrnA3P 0IuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gysS0y5G; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194464-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a635c371ea5si152476566b.510.2024.05.29.09.35.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 09:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gysS0y5G; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194464-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id A17221F23E12 for ; Wed, 29 May 2024 16:35:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 18CF11CB32E; Wed, 29 May 2024 16:30:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gysS0y5G" 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 063E518735A; Wed, 29 May 2024 16:30:35 +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=1717000236; cv=none; b=FvUN2tXhG5x6RXcBykxte6ThBGQNAdmvZe4Shi9mG+6aBYWFZEX3sEhsKtwJv5qNTiRQCK+BLuUAqglFfUvAaooGNhd0a0cj6Pk/zHRU/AS7FPIuihqavU/P8Qzyy+AyQzJVP5GwLwVlcgzcn9IlEr8k6/E99zkNx98+wXU1hrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717000236; c=relaxed/simple; bh=ktUgF/6UawgynxPPaqC7L5uMYlNVYYch3qE9zi0eRhM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=vBe4r92kfJ/Iblt94TpLr7B2l9ijyxjSPeYaEpnTETCWi97Mw0JHkx8nKbtygbTurTVCKew9yfA8kGt2wCW0BZvzWL9xTFvsZySxnyjM7eRSbRYhnCb7dV0avpsnChma7q8zTjS/+fmJgpcp7BHQiTbrEmDJ6b20bhLfoVDEiso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gysS0y5G; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 837EEC113CC; Wed, 29 May 2024 16:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717000235; bh=ktUgF/6UawgynxPPaqC7L5uMYlNVYYch3qE9zi0eRhM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gysS0y5GxOLy2gSWjX2Nmxy4IdenFHxzkia8cDFvsi07Eo7trhiVbQKo4iM/edUJ7 k3bmhjOI++rlSb6TWrgx9+oEzj0IRK2lAyMBy78u0CK+K75vEmh+/pjLr5pb2Luktl Hpz2jlPaVP3GyxftSYxco/yu626Ay4KzVhUZWeIOz3otyT7GYXbiS5E3aEvEarBXft IK34ztYY/17GJq5lqkaNXJoaYfRZZmT6hj8YKpKKzC3Mzx/5hqf9FS3oC/wxAYCL0r YEVFy3XXiaNcYHWMvvPBUNo50W0/Wnv36e0WyT9K0IspiCjsNhCDo2AOKlINM9lxFM qseiQLW1xaseA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1sCMCB-000000004iq-2nfk; Wed, 29 May 2024 18:30:35 +0200 From: Johan Hovold To: Lee Jones , Mark Brown , Linus Walleij , Bjorn Andersson Cc: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Das Srinagesh , Satya Priya Kakitapalli , Stephen Boyd , Bryan O'Donoghue , Andy Shevchenko , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Johan Hovold Subject: [PATCH v2 05/14] mfd: pm8008: use lower case hex notation Date: Wed, 29 May 2024 18:29:49 +0200 Message-ID: <20240529162958.18081-6-johan+linaro@kernel.org> X-Mailer: git-send-email 2.44.1 In-Reply-To: <20240529162958.18081-1-johan+linaro@kernel.org> References: <20240529162958.18081-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use lower case hex notation for consistency. Reviewed-by: Bryan O'Donoghue Reviewed-by: Stephen Boyd Signed-off-by: Johan Hovold --- drivers/mfd/qcom-pm8008.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c index ab55d524c27b..18173c7a7e7b 100644 --- a/drivers/mfd/qcom-pm8008.c +++ b/drivers/mfd/qcom-pm8008.c @@ -38,8 +38,8 @@ enum { #define PM8008_PERIPH_0_BASE 0x900 #define PM8008_PERIPH_1_BASE 0x2400 -#define PM8008_PERIPH_2_BASE 0xC000 -#define PM8008_PERIPH_3_BASE 0xC100 +#define PM8008_PERIPH_2_BASE 0xc000 +#define PM8008_PERIPH_3_BASE 0xc100 #define PM8008_TEMP_ALARM_ADDR PM8008_PERIPH_1_BASE #define PM8008_GPIO1_ADDR PM8008_PERIPH_2_BASE @@ -151,7 +151,7 @@ static const struct regmap_irq_chip pm8008_irq_chip = { static struct regmap_config qcom_mfd_regmap_cfg = { .reg_bits = 16, .val_bits = 8, - .max_register = 0xFFFF, + .max_register = 0xffff, }; static int pm8008_probe(struct i2c_client *client) -- 2.44.1