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


Groups > linux.kernel > #1341133 > unrolled thread

[PATCH] mfd: intel-lpss: remove spt_info, it is not used

Started byColin King <colin.king@canonical.com>
First post2016-02-23 23:30 +0100
Last post2016-02-24 12:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] mfd: intel-lpss: remove spt_info, it is not used Colin King <colin.king@canonical.com> - 2016-02-23 23:30 +0100
    Re: [PATCH] mfd: intel-lpss: remove spt_info, it is not used Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-02-24 12:30 +0100

#1341133 — [PATCH] mfd: intel-lpss: remove spt_info, it is not used

FromColin King <colin.king@canonical.com>
Date2016-02-23 23:30 +0100
Subject[PATCH] mfd: intel-lpss: remove spt_info, it is not used
Message-ID<r5tCV-3y6-1@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

spt_info is not used at all, I suspect it is vestigial code left
over when the intel-lpss-acpi was derived from intel-lpss-pci

Signed-off-by: Colin Ian King <colin.king@canonical.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 06f00d6..e072dc9 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.7.0

[toc] | [next] | [standalone]


#1341912

FromAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Date2016-02-24 12:30 +0100
Message-ID<r5FNN-3OI-37@gated-at.bofh.it>
In reply to#1341133
On Tue, 2016-02-23 at 22:22 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> spt_info is not used at all, I suspect it is vestigial code left
> over when the intel-lpss-acpi was derived from intel-lpss-pci
> 

No objections from me. Anyway, we can find in the Git log if we need it
in the future.

Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Colin Ian King <colin.king@canonical.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 06f00d6..e072dc9 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),
>  	{ },

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web