Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759230AbaGDRyF (ORCPT ); Fri, 4 Jul 2014 13:54:05 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:25458 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755999AbaGDRs6 (ORCPT ); Fri, 4 Jul 2014 13:48:58 -0400 X-AuditID: cbfec7f5-b7f626d000004b39-c4-53b6e907ce0f From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kukjin Kim , Arnd Bergmann , Olof Johansson , Marek Szyprowski , Mark Brown , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Tomasz Figa Subject: [PATCH 03/19] cpufreq: s3c24xx: Remove some dead code Date: Fri, 04 Jul 2014 19:48:03 +0200 Message-id: <1404496099-26708-4-git-send-email-t.figa@samsung.com> X-Mailer: git-send-email 1.9.3 In-reply-to: <1404496099-26708-1-git-send-email-t.figa@samsung.com> References: <1404496099-26708-1-git-send-email-t.figa@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprILMWRmVeSWpSXmKPExsVy+t/xy7rsL7cFG7xvUrb4O+kYu8XUh0/Y LP4/es1q0bvgKpvFpsfXWC0u75rDZjHj/D4mi7VH7rJbnLr+mc1i1a4/jA5cHr9/TWL02Dnr LrvHplWdbB6bl9R7XDnRxOrRt2UVo8f2a/OYPT5vkgvgiOKySUnNySxLLdK3S+DKmPJEu+C0 eMXjzZsYGxgniXQxcnJICJhI3Ow+wAJhi0lcuLeerYuRi0NIYCmjxKcnB5ggnD4miQ9/brCB VLEJqEl8bngEZosIqEp8blvA3sXIwcEscJtJolUYJCwsYCdx9tpesKEsQCVb9n9gBrF5BZwk erfuZYVYJifRu+0NWJxTwFli4roLTCC2EFDNn//zWSYw8i5gZFjFKJpamlxQnJSea6RXnJhb XJqXrpecn7uJERKMX3cwLj1mdYhRgINRiYe3oWVbsBBrYllxZe4hRgkOZiUR3j+rgEK8KYmV ValF+fFFpTmpxYcYmTg4pRoYF1xia7t5zHPDrp6SosCKGP3JdT8/vbtnserOcrFrRZMPpmj5 slj0zDyg8alwf8fctiqLo7l6v6p/6eh3GuZxGfldKNr6IVrvqrxTsdekCVaqL5xfH91lP/mQ gJLY3Eu+lcbXXAyTEl+oV5QtWuU1p/fuNvO9wbW/wmJ3nmFl2q+dy1k373m4EktxRqKhFnNR cSIA/gqJDyQCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no use for the .resume_clocks() callback now and in fact all the provided functions are empty, so this patch just removes it in preparation for further patches. Reported-by: Arnd Bergmann Signed-off-by: Tomasz Figa Cc: Rafael J. Wysocki Cc: Viresh Kumar Cc: linux-pm@vger.kernel.org --- drivers/cpufreq/s3c2410-cpufreq.c | 2 -- drivers/cpufreq/s3c2412-cpufreq.c | 3 --- drivers/cpufreq/s3c2440-cpufreq.c | 3 --- drivers/cpufreq/s3c24xx-cpufreq.c | 1 - 4 files changed, 9 deletions(-) diff --git a/drivers/cpufreq/s3c2410-cpufreq.c b/drivers/cpufreq/s3c2410-cpufreq.c index cfa0dd8..b8e5da8 100644 --- a/drivers/cpufreq/s3c2410-cpufreq.c +++ b/drivers/cpufreq/s3c2410-cpufreq.c @@ -26,7 +26,6 @@ #include #include -#include #include /* Note, 2410A has an extra mode for 1:4:4 ratio, bit 2 of CLKDIV */ @@ -104,7 +103,6 @@ static struct s3c_cpufreq_info s3c2410_cpufreq_info = { .calc_iotiming = s3c2410_iotiming_calc, .set_iotiming = s3c2410_iotiming_set, .get_iotiming = s3c2410_iotiming_get, - .resume_clocks = s3c2410_setup_clocks, .set_fvco = s3c2410_set_fvco, .set_refresh = s3c2410_cpufreq_setrefresh, diff --git a/drivers/cpufreq/s3c2412-cpufreq.c b/drivers/cpufreq/s3c2412-cpufreq.c index 4645b48..eb26213 100644 --- a/drivers/cpufreq/s3c2412-cpufreq.c +++ b/drivers/cpufreq/s3c2412-cpufreq.c @@ -28,7 +28,6 @@ #include #include -#include #include /* our clock resources. */ @@ -188,8 +187,6 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = { .set_iotiming = s3c2412_iotiming_set, .get_iotiming = s3c2412_iotiming_get, - .resume_clocks = s3c2412_setup_clocks, - .debug_io_show = s3c_cpufreq_debugfs_call(s3c2412_iotiming_debugfs), }; diff --git a/drivers/cpufreq/s3c2440-cpufreq.c b/drivers/cpufreq/s3c2440-cpufreq.c index f84ed10..0129f5c 100644 --- a/drivers/cpufreq/s3c2440-cpufreq.c +++ b/drivers/cpufreq/s3c2440-cpufreq.c @@ -29,7 +29,6 @@ #include #include -#include static struct clk *xtal; static struct clk *fclk; @@ -262,8 +261,6 @@ static struct s3c_cpufreq_info s3c2440_cpufreq_info = { .calc_divs = s3c2440_cpufreq_calcdivs, .calc_freqtable = s3c2440_cpufreq_calctable, - .resume_clocks = s3c244x_setup_clocks, - .debug_io_show = s3c_cpufreq_debugfs_call(s3c2410_iotiming_debugfs), }; diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c index 227ebf7..d00f1ce 100644 --- a/drivers/cpufreq/s3c24xx-cpufreq.c +++ b/drivers/cpufreq/s3c24xx-cpufreq.c @@ -27,7 +27,6 @@ #include #include -#include #include #include -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/