linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] mfd: intel-lpss: Remove left over variable
@ 2017-03-13 17:53 Andy Shevchenko
  2017-03-14  7:35 ` Mika Westerberg
  2017-03-15 10:36 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2017-03-13 17:53 UTC (permalink / raw)
  To: Lee Jones, linux-kernel
  Cc: Andy Shevchenko, Mika Westerberg, Rafael J . Wysocki

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] mfd: intel-lpss: Remove left over variable
  2017-03-13 17:53 [PATCH v1] mfd: intel-lpss: Remove left over variable Andy Shevchenko
@ 2017-03-14  7:35 ` Mika Westerberg
  2017-03-15 10:36 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Mika Westerberg @ 2017-03-14  7:35 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Lee Jones, linux-kernel, Rafael J . Wysocki

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] mfd: intel-lpss: Remove left over variable
  2017-03-13 17:53 [PATCH v1] mfd: intel-lpss: Remove left over variable Andy Shevchenko
  2017-03-14  7:35 ` Mika Westerberg
@ 2017-03-15 10:36 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2017-03-15 10:36 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, Mika Westerberg, Rafael J . Wysocki

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-15 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-13 17:53 [PATCH v1] mfd: intel-lpss: Remove left over variable Andy Shevchenko
2017-03-14  7:35 ` Mika Westerberg
2017-03-15 10:36 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).