mbox series

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

Message ID 20240705-input-const-regmap_config-v1-0-f712a4494883@gmail.com (mailing list archive)
Headers show
Series Input - constify read-only struct regmap_config | expand

Message

Javier Carrasco July 5, 2024, 5:38 p.m. UTC
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,

Comments

Dmitry Torokhov July 8, 2024, 5:11 p.m. UTC | #1
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.