Skip to contentSkip to conversation

mfd: intel-lpss: Remove left over variable

PATCH Applied Andy Shevchenko 3 participants 3 messages Mar 13, 2017 – Mar 15, 2017

Subsystems (2)
lore
Share & tools
lore

Andy Shevchenko

author reviewer
#0 lore raw

PATCH 1/1 mfd: intel-lpss: Remove left over variable

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 <[email protected]>
Cc Rafael J. Wysocki <[email protected]>
---
 drivers/mfd/intel-lpss-acpi.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/mfd/intel-lpss-acpi.c +0 -4
index 6bf8d643d942..7911b0a14a6d 100644
@@ -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),
 	{ },
Signature · 1 line
2.11.0
Applied
#2 lore raw
In reply to Andy Shevchenko
Quoted 11 lines · Andy Shevchenko

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 <[email protected]>
Cc Rafael J. Wysocki <[email protected]>
---
 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.

Quoted 15 lines
drivers/mfd/intel-lpss-acpi.c +0 -4
index 6bf8d643d942..7911b0a14a6d 100644
@@ -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),
 	{ },
Signature · 4 lines
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog