[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <edf011a7-298d-4973-9046-9a29ed9bb98d@redhat.com>
Date: Wed, 29 Jan 2025 17:36:14 +0100
From: Hans de Goede <hdegoede@...hat.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org
Cc: Andy Shevchenko <andy@...nel.org>, Lee Jones <lee@...nel.org>
Subject: Re: [PATCH v1 1/1] mfd: intel_soc_pmic_chtdc_ti: Drop unneeded
assignment for cache_type
Hi,
On 29-Jan-25 4:28 PM, Andy Shevchenko wrote:
> REGCACHE_NONE is the default type of the cache when not provided.
> Drop unneeded explicit assignment to it.
>
> Note, it's defined to 0, and if ever be redefined, it will break
> literally a lot of the drivers, so it very unlikely to happen.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Thanks, patch looks good to me:
Reviewed-by: Hans de Goede <hdegoede@...hat.com>
Regards,
Hans
> ---
> drivers/mfd/intel_soc_pmic_chtdc_ti.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mfd/intel_soc_pmic_chtdc_ti.c b/drivers/mfd/intel_soc_pmic_chtdc_ti.c
> index 8582ae65a802..4c1a68c9f575 100644
> --- a/drivers/mfd/intel_soc_pmic_chtdc_ti.c
> +++ b/drivers/mfd/intel_soc_pmic_chtdc_ti.c
> @@ -82,7 +82,6 @@ static const struct regmap_config chtdc_ti_regmap_config = {
> .reg_bits = 8,
> .val_bits = 8,
> .max_register = 0xff,
> - .cache_type = REGCACHE_NONE,
> };
>
> static const struct regmap_irq chtdc_ti_irqs[] = {
Powered by blists - more mailing lists