summaryrefslogtreecommitdiff
path: root/net/tipc/msg.c
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2018-01-10 15:39:33 +0800
committerDavid S. Miller <davem@davemloft.net>2018-01-15 13:18:02 -0500
commitf16891326c1c6e6b0f17f60cb6921a145a13e017 (patch)
treeb96ea4095123b0eb4dd2cee6dcf1dade21473ef9 /net/tipc/msg.c
parenta57d476d9707a470bbdcbd1ab00df73b55650bf7 (diff)
downloadlinux-f16891326c1c6e6b0f17f60cb6921a145a13e017.tar.gz
linux-f16891326c1c6e6b0f17f60cb6921a145a13e017.tar.xz
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 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions