summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2017-03-15 12:05:34 -0500
committerLee Jones <lee.jones@linaro.org>2017-04-27 09:25:04 +0100
commit0ec69542aa7362f7c939c9a33c6f50850d68f7eb (patch)
treea4ee6628592f7942439f6a0389a4bc2e289c3b00 /drivers/mfd
parent66da627e0cf4e06817e78a6641e39372e20a30f7 (diff)
downloadlinux-stable-0ec69542aa7362f7c939c9a33c6f50850d68f7eb.tar.gz
linux-stable-0ec69542aa7362f7c939c9a33c6f50850d68f7eb.tar.bz2
linux-stable-0ec69542aa7362f7c939c9a33c6f50850d68f7eb.zip
mfd: tps65912: Fix variable name for SPI remove
The SPI interface is mostly a copy/paste from the I2C interface with some minor renaming for consistency. "Client" is an I2C specific term that was left in the SPI remove path, rename this here. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-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);
}