UPSTREAM: spi/rockchip: Make sure spi clk is on in rockchip_spi_set_cs
[firefly-linux-kernel-4.4.55.git] / drivers / mfd / tps65010.c
index 743fb524fc8ae96f58cfaa6ea635317b621878cb..448f0a182dc4562d19bb35f9952b96124dcd37d7 100644 (file)
@@ -515,7 +515,7 @@ static int tps65010_gpio_get(struct gpio_chip *chip, unsigned offset)
 
 static struct tps65010 *the_tps;
 
-static int __exit tps65010_remove(struct i2c_client *client)
+static int tps65010_remove(struct i2c_client *client)
 {
        struct tps65010         *tps = i2c_get_clientdata(client);
        struct tps65010_board   *board = dev_get_platdata(&client->dev);
@@ -684,7 +684,7 @@ static struct i2c_driver tps65010_driver = {
                .name   = "tps65010",
        },
        .probe  = tps65010_probe,
-       .remove = __exit_p(tps65010_remove),
+       .remove = tps65010_remove,
        .id_table = tps65010_id,
 };