static int __devexit adxl34x_i2c_remove(struct i2c_client *client)
{
	struct adxl34x *ac = i2c_get_clientdata(client);
#ifdef CONFIG_HAS_EARLYSUSPEND
		unregister_early_suspend(&esii);
#endif
	return adxl34x_remove(ac);
}
Beispiel #2
0
static int adxl34x_spi_remove(struct spi_device *spi)
{
	struct adxl34x *ac = spi_get_drvdata(spi);

	return adxl34x_remove(ac);
}
Beispiel #3
0
static int adxl34x_i2c_remove(struct i2c_client *client)
{
	struct adxl34x *ac = i2c_get_clientdata(client);

	return adxl34x_remove(ac);
}