]> asedeno.scripts.mit.edu Git - linux.git/commit
watchdog: cadence_wdt: Enable access to module parameters
authorMichal Simek <michal.simek@xilinx.com>
Fri, 4 Aug 2017 07:39:16 +0000 (09:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 18:33:29 +0000 (20:33 +0200)
commitdb202f4d5c24c0ed44501c1d382e4e971c6d67c7
tree8a23e3e9b7ea54cc19b73e0f93fe33078485fe5f
parent323edb2e27e8e02b0ce25e7caa8288a90a438b99
watchdog: cadence_wdt: Enable access to module parameters

Give read access to module parameters to all and write access to root.
This change also improves driver error path testing.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/cadence_wdt.c