diff options
author | 2018-01-10 15:39:33 +0800 | |
---|---|---|
committer | 2018-01-15 13:18:02 -0500 | |
commit | f16891326c1c6e6b0f17f60cb6921a145a13e017 (patch) | |
tree | b96ea4095123b0eb4dd2cee6dcf1dade21473ef9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: lan9303: make lan9303_handle_reset() a void function (diff) | |
download | linux-dev-f16891326c1c6e6b0f17f60cb6921a145a13e017.tar.xz linux-dev-f16891326c1c6e6b0f17f60cb6921a145a13e017.zip |
net: dsa: lan9303: check error value from devm_gpiod_get_optional()
devm_gpiod_get_optional() can return an error in addition to a NULL ptr.
Check for error and propagate that to the probe function. Check return
value in probe. This will now handle EPROBE_DEFER for the reset gpio.
Signed-off-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions