mfd: tps65910: Make of_device_id array const
Subsystems (2)
PATCH 1/4 mfd: tps65910: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const.
--- drivers/mfd/tps65910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/tps65910.c +1 -1
@@ -379,7 +379,7 @@ err_sleep_init: }#ifdef CONFIG_OF -static struct of_device_id tps65910_of_match[] = { +static const struct of_device_id tps65910_of_match[] = { { .compatible ="ti,tps65910" , .data = (void *)TPS65910 }, { .compatible ="ti,tps65911" , .data = (void *)TPS65911 }, { },
Signature · 1 line
1.7.10.4
PATCH 2/4 mfd: tps6507x: Make of_device_id array const
Make of_device_id array const, because all OF functions handle it as const.
--- drivers/mfd/tps6507x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/tps6507x.c +1 -1
@@ -119,7 +119,7 @@ static const struct i2c_device_id tps6507x_i2c_id[] = {MODULE_DEVICE_TABLE (i2c, tps6507x_i2c_id);#ifdef CONFIG_OF -static struct of_device_id tps6507x_of_match[] = { +static const struct of_device_id tps6507x_of_match[] = { {.compatible ="ti,tps6507x" , }, {}, };
Signature · 1 line
1.7.10.4
Lee Jones
AppliedRe: [PATCH 2/4] mfd: tps6507x: Make of_device_id array const
Quoted 7 lines · Jingoo Han
Make
of_device_idarray const, because all OF functions handle it as const.Signed-off-by Jingoo Han <[email protected]>--- drivers/mfd/tps6507x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
PATCH 3/4 mfd: tps6586x: Make of_device_id array const
In reply to Jingoo HanMake of_device_id array const, because all OF functions handle it as const.
--- drivers/mfd/tps6586x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/tps6586x.c +1 -1
@@ -444,7 +444,7 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clienreturn pdata; } -static struct of_device_id tps6586x_of_match[] = { +static const struct of_device_id tps6586x_of_match[] = { { .compatible ="ti,tps6586x" , }, { }, };
Signature · 1 line
1.7.10.4
Lee Jones
AppliedRe: [PATCH 3/4] mfd: tps6586x: Make of_device_id array const
Quoted 7 lines · Jingoo Han
Make
of_device_idarray const, because all OF functions handle it as const.Signed-off-by Jingoo Han <[email protected]>--- drivers/mfd/tps6586x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
PATCH 4/4 mfd: sm501: Make of_device_id array const
In reply to Jingoo HanMake of_device_id array const, because all OF functions handle it as const.
--- drivers/mfd/sm501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/sm501.c +1 -1
@@ -1726,7 +1726,7 @@ static struct pci_driver sm501_pci_driver = {MODULE_ALIAS ("platform:sm501" ); -static struct of_device_id of_sm501_match_tbl[] = { +static const struct of_device_id of_sm501_match_tbl[] = { { .compatible ="smi,sm501" , }, {/* end */ } };
Signature · 1 line
1.7.10.4
Lee Jones
AppliedRe: [PATCH 4/4] mfd: sm501: Make of_device_id array const
Quoted 7 lines · Jingoo Han
Make
of_device_idarray const, because all OF functions handle it as const.Signed-off-by Jingoo Han <[email protected]>--- drivers/mfd/sm501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog
Lee Jones
AppliedQuoted 7 lines
Make
of_device_idarray const, because all OF functions handle it as const.Signed-off-by Jingoo Han <[email protected]>--- drivers/mfd/tps65910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 4 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog