summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-mx31lilly.c
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2018-06-04 18:00:59 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-06-07 13:41:43 +0300
commit16a7eec2fcd020c73cf0ca38bf774775167d22eb (patch)
treef56c361e1a111e51aff2d10f2a9be4cc60f86be4 /arch/arm/mach-imx/mach-mx31lilly.c
parent6f4cedb7b4c35473f8f600cc09fa084185803265 (diff)
downloadlinux-16a7eec2fcd020c73cf0ca38bf774775167d22eb.tar.xz
watchdog: da9063: remove duplicated timeout_to_sel calls
Every time da9063_wdt_update_timeout() gets called a timeout_to_sel() is made because the timeout argument of update_timeout() is the raw register value. Moving the second<->raw-value translation into da9063_wdt_update_timeout() removes duplicated code. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Acked-by: Steve Twiss <stwiss.opensource@diasemi.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-mx31lilly.c')
0 files changed, 0 insertions, 0 deletions