static int __devexit stmpe_spi_remove(struct spi_device *spi)
{
	struct stmpe *stmpe = dev_get_drvdata(&spi->dev);

	return stmpe_remove(stmpe);
}
Beispiel #2
0
static int stmpe_i2c_remove(struct i2c_client *i2c)
{
	struct stmpe *stmpe = dev_get_drvdata(&i2c->dev);

	return stmpe_remove(stmpe);
}
Beispiel #3
0
static int stmpe_spi_remove(struct spi_device *spi)
{
	struct stmpe *stmpe = spi_get_drvdata(spi);

	return stmpe_remove(stmpe);
}