Skip to content

Commit

Permalink
reverted compat for Sersors
Browse files Browse the repository at this point in the history
as normal Froyo libs support sensors as is.
For example hw/sensors.default.so of u8150.
It also might be one a line change in
android_device_huawei_u8220 / libsensors / AkmSensor.cpp
"gsensor" -> "sensors"
  • Loading branch information
pier11 committed Jan 23, 2012
1 parent c83a18b commit 64b464e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/input/accelerometer/gs_st.c
Expand Up @@ -466,7 +466,7 @@ static int gs_probe(
goto err_input_dev_alloc_failed;
}

gs->input_dev->name = "gsensor";
gs->input_dev->name = "sensors";
sensor_dev = gs->input_dev;

}else{
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/accelerometer/gsdev.c
Expand Up @@ -612,7 +612,7 @@ static int gs_probe(
printk(KERN_ERR "gs_probe: Failed to allocate input device\n");
goto err_input_dev_alloc_failed;
}
gs->input_dev->name = "gsensor";
gs->input_dev->name = "sensors";
sensor_dev = gs->input_dev;
}else{

Expand Down

0 comments on commit 64b464e

Please sign in to comment.