Krzysztof Kozlowski a9a02c4662 watchdog: s3c2410: Simplify getting driver data
Simplify the flow in helper function for getting the driver data by
using of_device_get_match_data() and only one if() branch.

The code should be equivalent.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
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>
2017-06-05 20:38:26 +02:00
..
2016-12-16 06:53:56 -08:00
2017-06-05 20:37:17 +02:00
2017-02-24 14:00:23 -08:00
2017-06-05 20:37:17 +02:00
2016-12-24 11:27:45 -08:00
2016-12-24 11:27:45 -08:00
2017-06-05 20:37:17 +02:00
2016-05-14 18:25:56 +02:00