Re: [PATCH] extcon: palmas: Make of_device_id array const

2014-06-19 Thread Chanwoo Choi
Hi Jingoo, On 06/18/2014 02:27 PM, Jingoo Han wrote: > Make of_device_id array const, because all OF functions handle > it as const. > > Signed-off-by: Jingoo Han > --- > drivers/extcon/extcon-palmas.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/extcon/e

[PATCH] extcon: palmas: Make of_device_id array const

2014-06-17 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/extcon/extcon-palmas.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index 7417ce8..5efa96c 1

Re: [PATCH] extcon: palmas: Make of_device_id array const

2014-05-27 Thread Chanwoo Choi
On 05/23/2014 06:03 PM, Krzysztof Kozlowski wrote: > Array of struct of_device_id may be be const as expected by > of_match_table field. > > Signed-off-by: Krzysztof Kozlowski > Cc: Graeme Gregory > --- > drivers/extcon/extcon-palmas.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH] extcon: palmas: Make of_device_id array const

2014-05-23 Thread Krzysztof Kozlowski
Array of struct of_device_id may be be const as expected by of_match_table field. Signed-off-by: Krzysztof Kozlowski Cc: Graeme Gregory --- drivers/extcon/extcon-palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-p