summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-10-29 20:40:37 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-11-18 21:53:42 +0300
commiteccb7fe5e72a88455b13c77bc3bc381dbb45bd9a (patch)
tree57702fc537acc84a897a0d725eba0e587e554f89 /.cocciconfig
parentc37e358163d97d7e0f19e495c3dc374b4d08e797 (diff)
downloadlinux-eccb7fe5e72a88455b13c77bc3bc381dbb45bd9a.tar.xz
watchdog: imx7ulp: Use definitions instead of magic values
Use definitions instead of magic values in order to improve readability. Since the CLK field of the WDOG CS register is composed of two bits to select the watchdog clock source, use a shift representation instead of BIT(). Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191029174037.25381-5-festevam@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions