Example #1
0
static int __devexit ft5x06_spi_remove(struct spi_device *spi)
{
	struct ft5x06_data *ft5x06 = spi_get_drvdata(spi);
	ft5x06_remove(ft5x06);
	return 0;
}
static int __devexit ft5x06_i2c_remove(struct i2c_client *client)
{
	struct ft5x06_data *ft5x0x = i2c_get_clientdata(client);
	ft5x06_remove(ft5x0x);
	return 0;
}