]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: of_xilinx_wdt: Add comment to spinlock
authorSrinivas Goud <srinivas.goud@xilinx.com>
Mon, 29 Mar 2021 16:19:35 +0000 (21:49 +0530)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 Jun 2021 06:49:06 +0000 (08:49 +0200)
commit983c4dafe535d216728c5f98964191f1b9290ccf
tree50fa905a5a247df92a0b5d45e8333062c454e5ee
parentf1b0f02d53fddbc9c4fa970efad705d6987a2d65
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>
Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210329161939.37680-2-srinivas.neeli@xilinx.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/of_xilinx_wdt.c