d/psmv: Return error code

This commit is contained in:
Jakob Bornecrantz 2019-09-05 22:17:57 +01:00
parent 1ae8acc71c
commit 58008d2ff1

View file

@ -531,7 +531,7 @@ psmv_get_calibration(struct psmv_device *psmv)
}
if (ret != (int)sizeof(part)) {
return ret;
return -1;
}
switch (part.which) {