]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
watchdog: of_xilinx_wdt: Add comment to spinlock
authorSrinivas Goud <srinivas.goud@xilinx.com>
Tue, 9 Apr 2019 14:29:20 +0000 (19:59 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 10 Apr 2019 08:52:16 +0000 (10:52 +0200)
commit685a0c84e295fe15848e58f4da76fa62921e130c
tree890dd1f798c8400dba8674cd3e372b13e65fafd5
parentc97dbcd0ae1e3475b58d2e917a28178ab2c13f4c
watchdog: of_xilinx_wdt: Add comment to spinlock

Based on checkpatch every spinlock should be documented.
The patch is fixing this issue:
./scripts/checkpatch.pl --strict -f drivers/watchdog/of_xilinx_wdt.c
CHECK: spinlock_t definition without comment
+ spinlock_t spinlock;

Signed-off-by: Srinivas Goud <srinivas.goud@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
drivers/watchdog/of_xilinx_wdt.c