diff options
author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | 2016-08-31 13:52:49 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-09-24 09:27:12 +0200 |
commit | 68d4cb809ef84f9a0ea6a23c4c0dc0ae48355f78 (patch) | |
tree | 27a976c8bff6b9ac640beecc51c8baf1ac3bb269 /Documentation/watchdog/watchdog-kernel-api.txt | |
parent | watchdog: st_wdt: Remove support for obsolete platforms (diff) | |
download | linux-68d4cb809ef84f9a0ea6a23c4c0dc0ae48355f78.tar.xz linux-68d4cb809ef84f9a0ea6a23c4c0dc0ae48355f78.zip |
watchdog: imx2_wdt: use preferred BIT macro instead of open coded values
This is a nonfunctional change, declare register bit values with BIT()
helper macro.
The issues are reported by checkpatch:
CHECK: Prefer using the BIT macro
#40: FILE: drivers/watchdog/imx2_wdt.c:40:
+#define IMX2_WDT_WCR_WDA (1 << 5) /* -> External Reset WDOG_B */
etc.
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/watchdog/watchdog-kernel-api.txt')
0 files changed, 0 insertions, 0 deletions