diff options
author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | 2016-08-31 14:52:49 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-09-24 09:27:12 +0200 |
commit | 68d4cb809ef84f9a0ea6a23c4c0dc0ae48355f78 (patch) | |
tree | 27a976c8bff6b9ac640beecc51c8baf1ac3bb269 /include/linux/watchdog.h | |
parent | 7dd2ce7c91bd29d2fb7436cd2a607c7d24835e82 (diff) |
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 'include/linux/watchdog.h')
0 files changed, 0 insertions, 0 deletions