Message ID | 20240122033108.31053-2-raag.jadav@intel.com |
---|---|
State | Superseded |
Delegated to: | Andi Shyti |
Headers | show |
Series | [v1,1/2] i2c: designware: constify abort_sources | expand |
On 1/22/24 05:31, Raag Jadav wrote: > We never modify regmap_config, mark it as const. > > Signed-off-by: Raag Jadav <raag.jadav@intel.com> > --- > drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Both: Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
On Mon, Jan 22, 2024 at 11:44:22AM +0200, Jarkko Nikula wrote: > On 1/22/24 05:31, Raag Jadav wrote: > > We never modify regmap_config, mark it as const. > > > > Signed-off-by: Raag Jadav <raag.jadav@intel.com> > > --- > > drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > Both: > > Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Bump. Anything I can do to move these forward? Raag
On Thu, Feb 08, 2024 at 12:46:07PM +0200, Raag Jadav wrote: > On Mon, Jan 22, 2024 at 11:44:22AM +0200, Jarkko Nikula wrote: > > On 1/22/24 05:31, Raag Jadav wrote: > > > We never modify regmap_config, mark it as const. > > > > > > Signed-off-by: Raag Jadav <raag.jadav@intel.com> > > > --- > > > drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > Both: > > > > Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> > > Bump. > > Anything I can do to move these forward? Hi Andi, Are these worth moving forward? Raag
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index 855b698e99c0..d122ef349b1c 100644 --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -100,7 +100,7 @@ static int bt1_i2c_write(void *context, unsigned int reg, unsigned int val) BT1_I2C_CTL_GO | BT1_I2C_CTL_WR | (reg & BT1_I2C_CTL_ADDR_MASK)); } -static struct regmap_config bt1_i2c_cfg = { +static const struct regmap_config bt1_i2c_cfg = { .reg_bits = 32, .val_bits = 32, .reg_stride = 4,
We never modify regmap_config, mark it as const. Signed-off-by: Raag Jadav <raag.jadav@intel.com> --- drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)