summaryrefslogtreecommitdiff
path: root/drivers/watchdog/of_xilinx_wdt.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-08-12 23:08:50 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-09-17 09:59:04 +0300
commit5870f4958ccf90f4cdf3911bade77cb72a3bf28c (patch)
treeb80b2b4d892c5d09763fc20161908f1a25b55c4f /drivers/watchdog/of_xilinx_wdt.c
parent42abc12464f74feb2e868fba439c713d56ef9573 (diff)
downloadlinux-5870f4958ccf90f4cdf3911bade77cb72a3bf28c.tar.xz
watchdog: ziirave_wdt: Simplify ziirave_firm_write_pkt()
There no reason why ziirave_firm_write_pkt() has to take firmware data via 'struct ihex_binrec' and it can just take address, data pointer and data length as individual arguments. Make this change to allow us to drastically simplify handling page crossing case by removing all of the extra code required to split 'struct ihex_binrec' into two. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Rick Ramstetter <rick@anteaterllc.com> Cc: linux-watchdog@vger.kernel.org Cc: linux-kernel@vger.kernel.org Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20190812200906.31344-7-andrew.smirnov@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/of_xilinx_wdt.c')
0 files changed, 0 insertions, 0 deletions