From patchwork Wed Aug 27 11:00:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 36077 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6897A203C5 for ; Wed, 27 Aug 2014 11:00:53 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id 9sf107643ykp.3 for ; Wed, 27 Aug 2014 04:00:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:date :message-id:subject:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=7MPMbaR04dQUd/8b0ym0qaZnKCNjd5FD4/A35dGmwgA=; b=MrCGq4inuD85SKs7lsZPpfH0YCl2/zi8H0lesgI7e7F9bP/KDqJj1TFXs5bm9PTcrK 3APUsnZun5RIkQxvAiHHnN8sXa+nXcwA7QrZ5S+2JOzkjqK+dwUyfFdSM8JF7S2j0qGR EPtgPdICQyrtL2eEvvLSTZxA7n9cTVeTZ095QMghvU2K9rdUE1ud+0FWMuOn4sOE8yBd xI3gEOS2KvI0Q1qBgofHkeFlHb1mxYmx8sQ87xwLk6GUuFmETjcE8FJYf8LgAbV8+0S0 x3pvZGO/Sc9yovOGMZVe5G6CxYtsCE48gNLGQBI1E5/gl2w2GmH2Tof59mCLsTIVkuh3 7kDQ== X-Gm-Message-State: ALoCoQm5Jo3S5vYO3/6bHIsMHFJDhCTrz5mivLzwQa+TJThCRV1afi/5MHr+px/WoLrHE+lxyUVG X-Received: by 10.236.28.228 with SMTP id g64mr12499714yha.40.1409137253249; Wed, 27 Aug 2014 04:00:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.232 with SMTP id 95ls67346qgb.94.gmail; Wed, 27 Aug 2014 04:00:53 -0700 (PDT) X-Received: by 10.236.148.112 with SMTP id u76mr51034666yhj.22.1409137253160; Wed, 27 Aug 2014 04:00:53 -0700 (PDT) Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by mx.google.com with ESMTPS id g35si4772895yhb.157.2014.08.27.04.00.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Aug 2014 04:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.160.182 as permitted sender) client-ip=209.85.160.182; Received: by mail-yk0-f182.google.com with SMTP id q9so32096ykb.27 for ; Wed, 27 Aug 2014 04:00:53 -0700 (PDT) X-Received: by 10.52.146.17 with SMTP id sy17mr14071329vdb.29.1409137253084; Wed, 27 Aug 2014 04:00:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp62743vcb; Wed, 27 Aug 2014 04:00:52 -0700 (PDT) X-Received: by 10.68.202.196 with SMTP id kk4mr44214572pbc.37.1409137252232; Wed, 27 Aug 2014 04:00:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tl8si8341026pac.234.2014.08.27.04.00.41 for ; Wed, 27 Aug 2014 04:00:42 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755353AbaH0LAk (ORCPT + 6 others); Wed, 27 Aug 2014 07:00:40 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:35840 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755202AbaH0LAk (ORCPT ); Wed, 27 Aug 2014 07:00:40 -0400 Received: from cpc11-sgyl31-2-0-cust672.sgyl.cable.virginm.net ([94.175.94.161] helo=debutante) by mezzanine.sirena.org.uk with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XMaxw-0001mg-1Y; Wed, 27 Aug 2014 11:00:36 +0000 Received: from broonie by debutante with local (Exim 4.84) (envelope-from ) id 1XMaxt-00073j-5t; Wed, 27 Aug 2014 12:00:33 +0100 From: Mark Brown To: "Rafael J. Wysocki" , Viresh Kumar Cc: linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, linux-samsung-soc@vger.kernel.org, Mark Brown Date: Wed, 27 Aug 2014 12:00:27 +0100 Message-Id: <1409137227-27080-1-git-send-email-broonie@kernel.org> X-Mailer: git-send-email 2.1.0.rc1 X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mezzanine.sirena.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] cpufreq: s5pv210: Remove spurious __init annotation X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: broonie@kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.160.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Mark Brown Since this is a platform driver and can be probed at any time we can't annotate funtions in the probe path as __init, the code can't safely be discarded at the end of kernel init. Signed-off-by: Mark Brown --- drivers/cpufreq/s5pv210-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index 9a68225a757e..3f9791f07b8e 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers/cpufreq/s5pv210-cpufreq.c @@ -501,7 +501,7 @@ static int check_mem_type(void __iomem *dmc_reg) return val >> 8; } -static int __init s5pv210_cpu_init(struct cpufreq_policy *policy) +static int s5pv210_cpu_init(struct cpufreq_policy *policy) { unsigned long mem_type; int ret;