예제 #1
0
static int __devexit stmpe_spi_remove(struct spi_device *spi)
{
	struct stmpe *stmpe = dev_get_drvdata(&spi->dev);

	return stmpe_remove(stmpe);
}
예제 #2
0
파일: stmpe-i2c.c 프로젝트: MaxChina/linux
static int stmpe_i2c_remove(struct i2c_client *i2c)
{
	struct stmpe *stmpe = dev_get_drvdata(&i2c->dev);

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

	return stmpe_remove(stmpe);
}