watchodg: sama5d4: simplify probe
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 2 Mar 2017 17:31:13 +0000 (18:31 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 5 Jun 2017 15:58:30 +0000 (17:58 +0200)
commit39bd56df7b2dae80d4099c64ad776775a3876ed5
tree922899cff53bd3534325f40f4305e8a6da22bfab
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
watchodg: sama5d4: simplify probe

Because the only way to use the driver is to have a device tree enabling
it, pdev->dev.of_node will never be NULL. Remove the unnecessary check.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.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@iguana.be>
drivers/watchdog/sama5d4_wdt.c