From: Andrew F. Davis Date: Wed, 15 Mar 2017 17:05:34 +0000 (-0500) Subject: mfd: tps65912: Fix variable name for SPI remove X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ec69542aa7362f7c939c9a33c6f50850d68f7eb;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Lee Jones --- 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); }