Pan Bian 97438abcfb net: dsa: lan9303: correctly check return value of devm_gpiod_get_optional
Function devm_gpiod_get_optional() returns an ERR_PTR on failure. Its
return value should not be validated by a NULL check. Instead, use IS_ERR.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-14 21:34:57 +09:00
..
2017-11-11 19:27:05 +09:00
2017-11-14 15:46:17 +09:00
2017-11-14 15:45:52 +09:00
2017-11-01 20:52:36 +09:00
2017-11-05 22:26:18 +09:00
2017-09-20 14:27:52 -07:00