Merge tag 'staging-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[sfrench/cifs-2.6.git] / drivers / iio / imu / bmi160 / bmi160_spi.c
index d34dfdfd1a7dfbdd8c8e8a19ccbdb1843315fb76..e521ad14eeac8490694d6a57e6e6ce1eab2baf41 100644 (file)
@@ -29,13 +29,6 @@ static int bmi160_spi_probe(struct spi_device *spi)
        return bmi160_core_probe(&spi->dev, regmap, id->name, true);
 }
 
-static int bmi160_spi_remove(struct spi_device *spi)
-{
-       bmi160_core_remove(&spi->dev);
-
-       return 0;
-}
-
 static const struct spi_device_id bmi160_spi_id[] = {
        {"bmi160", 0},
        {}
@@ -58,7 +51,6 @@ MODULE_DEVICE_TABLE(of, bmi160_of_match);
 
 static struct spi_driver bmi160_spi_driver = {
        .probe          = bmi160_spi_probe,
-       .remove         = bmi160_spi_remove,
        .id_table       = bmi160_spi_id,
        .driver = {
                .acpi_match_table       = ACPI_PTR(bmi160_acpi_match),