diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2024-06-08 17:55:19 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-06-13 18:42:20 +0100 |
commit | a4b3225f06e4f8fa7266236407ab7de34b66f044 (patch) | |
tree | 68b9f7e432adc525f40fed2d94a03f05e3edc4f9 /drivers/mfd | |
parent | 742bdd99aa9acace13385b66c6f3946f26b109fe (diff) | |
download | lwn-a4b3225f06e4f8fa7266236407ab7de34b66f044.tar.gz lwn-a4b3225f06e4f8fa7266236407ab7de34b66f044.zip |
mfd: pm8008: Use lower case hex notation
Use lower case hex notation for consistency.
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20240608155526.12996-6-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/qcom-pm8008.c | 6 |
1 files 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) |