commit | 39bd56df7b2dae80d4099c64ad776775a3876ed5 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Thu Mar 02 18:31:13 2017 +0100 |
committer | Wim Van Sebroeck <wim@iguana.be> | Mon Jun 05 17:58:30 2017 +0200 |
tree | 922899cff53bd3534325f40f4305e8a6da22bfab | |
parent | 3c2993b8c6143d8a5793746a54eba8f86f95240f [diff] |
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>