Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1599663 > unrolled thread

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

Started byAndy Shevchenko <andriy.shevchenko@linux.intel.com>
First post2017-03-13 19:00 +0100
Last post2017-03-15 11:40 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v1] mfd: intel-lpss: Remove left over variable Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-03-13 19:00 +0100
    Re: [PATCH v1] mfd: intel-lpss: Remove left over variable Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-03-14 08:40 +0100
    Re: [PATCH v1] mfd: intel-lpss: Remove left over variable Lee Jones <lee.jones@linaro.org> - 2017-03-15 11:40 +0100

#1599663 — [PATCH v1] mfd: intel-lpss: Remove left over variable

FromAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Date2017-03-13 19:00 +0100
Subject[PATCH v1] mfd: intel-lpss: Remove left over variable
Message-ID<tkCqe-422-25@gated-at.bofh.it>
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@linux.intel.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/mfd/intel-lpss-acpi.c | 4 ----
 1 file changed, 4 deletions(-)

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),
 	{ },
-- 
2.11.0

[toc] | [next] | [standalone]


#1600078

FromMika Westerberg <mika.westerberg@linux.intel.com>
Date2017-03-14 08:40 +0100
Message-ID<tkPdM-5ce-7@gated-at.bofh.it>
In reply to#1599663
On Mon, Mar 13, 2017 at 07:53:01PM +0200, 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@linux.intel.com>

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>

[toc] | [prev] | [next] | [standalone]


#1601257

FromLee Jones <lee.jones@linaro.org>
Date2017-03-15 11:40 +0100
Message-ID<tlevw-6jJ-29@gated-at.bofh.it>
In reply to#1599663
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@linux.intel.com>
> Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web