Re: [PATCH v2 1/3] watchdog: s3c2410: Constify local structures

2017-03-12 Thread Krzysztof Kozlowski
On Sun, Mar 12, 2017 at 10:56 PM, Guenter Roeck wrote: > On 03/11/2017 09:42 AM, Krzysztof Kozlowski wrote: >> >> Structures watchdog_device, watchdog_ops and s3c2410_wdt_variant are not >> modified so they can be made const to increase code safeness. >> >> Signed-off-by: Krzysztof Kozlowski >> -

Re: [PATCH v2 1/3] watchdog: s3c2410: Constify local structures

2017-03-12 Thread Guenter Roeck
On 03/11/2017 09:42 AM, Krzysztof Kozlowski wrote: Structures watchdog_device, watchdog_ops and s3c2410_wdt_variant are not modified so they can be made const to increase code safeness. Signed-off-by: Krzysztof Kozlowski --- drivers/watchdog/s3c2410_wdt.c | 10 +- 1 file changed, 5 ins

[PATCH v2 1/3] watchdog: s3c2410: Constify local structures

2017-03-11 Thread Krzysztof Kozlowski
Structures watchdog_device, watchdog_ops and s3c2410_wdt_variant are not modified so they can be made const to increase code safeness. Signed-off-by: Krzysztof Kozlowski --- drivers/watchdog/s3c2410_wdt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/watc