summaryrefslogtreecommitdiffstats
path: root/sensors/bma250.c
diff options
context:
space:
mode:
Diffstat (limited to 'sensors/bma250.c')
-rw-r--r--sensors/bma250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors/bma250.c b/sensors/bma250.c
index 09d2f84..d9525cf 100644
--- a/sensors/bma250.c
+++ b/sensors/bma250.c
@@ -243,7 +243,7 @@ int bma250_get_data(struct piranha_sensors_handlers *handlers,
if (flag & FLAG_ALL)
break;
else
- return -EINVAL;
+ return -1;
}
if (input_event.type != EV_ABS)