]> asedeno.scripts.mit.edu Git - linux.git/commit
watchdog: imx2_wdt: use preferred BIT macro instead of open coded values
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Wed, 31 Aug 2016 11:52:49 +0000 (14:52 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 24 Sep 2016 07:27:12 +0000 (09:27 +0200)
commit68d4cb809ef84f9a0ea6a23c4c0dc0ae48355f78
tree27a976c8bff6b9ac640beecc51c8baf1ac3bb269
parent7dd2ce7c91bd29d2fb7436cd2a607c7d24835e82
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>
drivers/watchdog/imx2_wdt.c