Exemple #1
0
static void __exit gyro_l3g4200d_exit(void)
{
	struct sensor_operate *ops = gyro_get_ops();
	int type = ops->type;
	sensor_unregister_slave(type, NULL, NULL, gyro_get_ops);
}
static void __exit light_cm3232_exit(void)
{
	struct sensor_operate *ops = light_get_ops();
	int type = ops->type;
	sensor_unregister_slave(type, NULL, NULL, light_get_ops);
}
Exemple #3
0
static void __exit proximity_stk3171_exit(void)
{
	struct sensor_operate *ops = proximity_get_ops();
	int type = ops->type;
	sensor_unregister_slave(type, NULL, NULL, proximity_get_ops);
}
Exemple #4
0
static void __exit compass_exit(void)
{
	struct sensor_operate *ops = compass_get_ops();
	int type = ops->type;
	sensor_unregister_slave(type, NULL, NULL, compass_get_ops);
}
static void __exit hall_och165t_exit(void)
{
	struct sensor_operate *ops = hall_get_ops();
	int type = ops->type;
	sensor_unregister_slave(type, NULL, NULL, hall_get_ops);
}