Re: [PATCH v1] mfd: intel-lpss: Remove left over variable

From: Lee Jones
Date: Wed Mar 15 2017 - 06:36:23 EST


On Mon, 13 Mar 2017, Andy Shevchenko wrote:

> After commit 028af5941dd8 ("mfd: intel-lpss: Pass SDA hold time to I2C host controller driver")
> the driver still has a non-used variable.
>
> Remove it here.
>
> Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> Cc: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> drivers/mfd/intel-lpss-acpi.c | 4 ----
> 1 file changed, 4 deletions(-)

Applied, thanks.

... and I'll fix the massive commit log line for you.

> diff --git a/drivers/mfd/intel-lpss-acpi.c b/drivers/mfd/intel-lpss-acpi.c
> index 6bf8d643d942..7911b0a14a6d 100644
> --- a/drivers/mfd/intel-lpss-acpi.c
> +++ b/drivers/mfd/intel-lpss-acpi.c
> @@ -22,10 +22,6 @@
>
> #include "intel-lpss.h"
>
> -static const struct intel_lpss_platform_info spt_info = {
> - .clk_rate = 120000000,
> -};
> -
> static struct property_entry spt_i2c_properties[] = {
> PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
> { },

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog