[PATCH 0/2] Input - constify read-only struct regmap_config

Javier Carrasco posted 2 patches 1 year, 7 months ago
drivers/input/keyboard/qt1050.c           | 2 +-
drivers/input/touchscreen/fsl-imx25-tcq.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH 0/2] Input - constify read-only struct regmap_config
Posted by Javier Carrasco 1 year, 7 months ago
This series adds the const modifier to the remaining regmap_config
structs in the input subsystem that are effectively used as const
(i.e., only read after their declaration), but kept as writtable data.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Javier Carrasco (2):
      Input: qt1050 - constify struct regmap_config
      Input: fsl-imx25-tcq - constify struct regmap_config

 drivers/input/keyboard/qt1050.c           | 2 +-
 drivers/input/touchscreen/fsl-imx25-tcq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
change-id: 20240705-input-const-regmap_config-46d2fb3110bd

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>
Re: [PATCH 0/2] Input - constify read-only struct regmap_config
Posted by Dmitry Torokhov 1 year, 7 months ago
On Fri, Jul 05, 2024 at 07:38:49PM +0200, Javier Carrasco wrote:
> This series adds the const modifier to the remaining regmap_config
> structs in the input subsystem that are effectively used as const
> (i.e., only read after their declaration), but kept as writtable data.
> 
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---
> Javier Carrasco (2):
>       Input: qt1050 - constify struct regmap_config
>       Input: fsl-imx25-tcq - constify struct regmap_config
> 
>  drivers/input/keyboard/qt1050.c           | 2 +-
>  drivers/input/touchscreen/fsl-imx25-tcq.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied the lot, thank you.

-- 
Dmitry