commit | dee0586e15d5d5796dd76bdc0ecfb7df7c5ee1c8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jan 19 17:41:12 2015 +0300 |
committer | James Bottomley <JBottomley@Odin.com> | Mon May 25 08:46:24 2015 -0700 |
tree | 818e7ca9d4371c2e402470e2e8be08d8eef22497 | |
parent | ef10b16948bc0db51a0140be5109ad73b170a011 [diff] |
sd: fix an error return in probe() If device_add() fails then it should return the error code but instead the current code returns success. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>