watchdog: davinci: add support for deferred probing
authorTero Kristo <t-kristo@ti.com>
Thu, 24 Nov 2016 12:58:28 +0000 (14:58 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 16 Dec 2016 14:53:53 +0000 (06:53 -0800)
commit9b3865749589d67f612d71b447847223b2321408
tree708fc46c53328d290879cbec69ee9703176d7c05
parent807f0b2d22b0934fc1c67df8a4961044bd76b081
watchdog: davinci: add support for deferred probing

devm_clk_get can fail with EPROBE_DEFER in case the clock provider is
not ready yet. Handle this case gracefully, rather than dumping out
a huge warning.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/davinci_wdt.c