ravb: Split delay handling in parsing and applying
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 1 Oct 2020 10:10:07 +0000 (12:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Oct 2020 19:53:31 +0000 (12:53 -0700)
commitce19a9eb53be2fe458cad850e8e70c39cd38cca7
tree6cb4f3743ca6e8904903cdbcad23e1e71384a2c9
parentd7adf6331189cbe9d73729052a9ff14fed802667
ravb: Split delay handling in parsing and applying

Currently, full delay handling is done in both the probe and resume
paths.  Split it in two parts, so the resume path doesn't have to redo
the parsing part over and over again.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c