watchdog: imx2_wdt: Use register definition in regmap_write()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 2 Oct 2015 03:25:28 +0000 (00:25 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 28 Oct 2015 21:57:17 +0000 (22:57 +0100)
commit9493c0d824f7012dab7034a5b527ac8f07db5bed
treefc34bb78dca72400e65985b77689bacba580588e
parent9dd4e173f71d5ac6ea37f7dbf49af6e5cd44f9fb
watchdog: imx2_wdt: Use register definition in regmap_write()

In order to improve readability it is better to pass the register name
definition rather than to pass its hardcoded offset.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imx2_wdt.c