summaryrefslogtreecommitdiff
path: root/drivers/mfd/tps65912-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/tps65912-spi.c')
-rw-r--r--drivers/mfd/tps65912-spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/tps65912-spi.c b/drivers/mfd/tps65912-spi.c
index 4aeba9b6942a..3bd75061f777 100644
--- a/drivers/mfd/tps65912-spi.c
+++ b/drivers/mfd/tps65912-spi.c
@@ -49,9 +49,9 @@ static int tps65912_spi_probe(struct spi_device *spi)
return tps65912_device_init(tps);
}
-static int tps65912_spi_remove(struct spi_device *client)
+static int tps65912_spi_remove(struct spi_device *spi)
{
- struct tps65912 *tps = spi_get_drvdata(client);
+ struct tps65912 *tps = spi_get_drvdata(spi);
return tps65912_device_exit(tps);
}