From patchwork Wed Dec 10 04:15:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 42083 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6ADB2260BE for ; Wed, 10 Dec 2014 04:16:18 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gq15sf1421168lab.3 for ; Tue, 09 Dec 2014 20:16:17 -0800 (PST) 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:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=+mGCJcTwqe0vM1iMrexADMMSsMN3BqDyc9HyGl7TCII=; b=PWw6/wTTTSAqlq8GOvQjjfZnO563XP+M2wf2tsf3IPPZRJRNnY3B9IHOkMvPMAwcg7 Gnwe7OjdwI/yVvAr6MSgvPOboFE40kISvnZm7Vwj1FWVtJ5DKmjTDNVzi9JwKEKSYicT FO/HOntSkfoWlVMWh9aTVr95Nfyqt5TebT/yNpDR3/axj/M44WiO3Ej9boK4PZz3aVmM nDpgvajIZDVzrUpbDeIIVUGiIWM/G2tKbdTlPyT693aIL8vQ9ZL9RZA8nYAfT+zC8sQm HCd0wCGBge7QKdIgdVEHppx0mrG8LC2GXnMmtR/UqoCsRl+vZI4Ze5zNJosmPHI8neqs wPkg== X-Gm-Message-State: ALoCoQkYLj8Tq+wD3v6VEBXWDv3rutEg+Yk5rv6c3lmvcHxOI2DPyYQM0ej1FtSB/93FzZjO3ZyK X-Received: by 10.194.134.193 with SMTP id pm1mr18761wjb.4.1418184977346; Tue, 09 Dec 2014 20:16:17 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.97 with SMTP id r1ls130882lar.0.gmail; Tue, 09 Dec 2014 20:16:17 -0800 (PST) X-Received: by 10.112.132.2 with SMTP id oq2mr1832873lbb.11.1418184977185; Tue, 09 Dec 2014 20:16:17 -0800 (PST) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id jn6si3256744lbc.119.2014.12.09.20.16.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Dec 2014 20:16:17 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id p9so1679302lbv.0 for ; Tue, 09 Dec 2014 20:16:17 -0800 (PST) X-Received: by 10.112.173.202 with SMTP id bm10mr1823173lbc.74.1418184977040; Tue, 09 Dec 2014 20:16:17 -0800 (PST) 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.112.184.201 with SMTP id ew9csp834701lbc; Tue, 9 Dec 2014 20:16:16 -0800 (PST) X-Received: by 10.68.190.229 with SMTP id gt5mr3007828pbc.119.1418184975400; Tue, 09 Dec 2014 20:16:15 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ez16si4853936pad.84.2014.12.09.20.16.14 for ; Tue, 09 Dec 2014 20:16:15 -0800 (PST) Received-SPF: none (google.com: linux-pm-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 S1755328AbaLJEQO (ORCPT + 12 others); Tue, 9 Dec 2014 23:16:14 -0500 Received: from mail-pd0-f181.google.com ([209.85.192.181]:33633 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755310AbaLJEQN (ORCPT ); Tue, 9 Dec 2014 23:16:13 -0500 Received: by mail-pd0-f181.google.com with SMTP id v10so1948610pde.12 for ; Tue, 09 Dec 2014 20:16:13 -0800 (PST) X-Received: by 10.66.231.141 with SMTP id tg13mr3406251pac.122.1418184973257; Tue, 09 Dec 2014 20:16:13 -0800 (PST) Received: from localhost ([122.166.92.172]) by mx.google.com with ESMTPSA id pk5sm2787100pbb.56.2014.12.09.20.16.11 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 09 Dec 2014 20:16:12 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Viresh Kumar Subject: [PATCH 2/5] opp: Staticize __dev_pm_opp_remove() Date: Wed, 10 Dec 2014 09:45:32 +0530 Message-Id: X-Mailer: git-send-email 2.2.0 In-Reply-To: <0a31e317c90f601f77cc21b80455633928c70c96.1418184737.git.viresh.kumar@linaro.org> References: <0a31e317c90f601f77cc21b80455633928c70c96.1418184737.git.viresh.kumar@linaro.org> In-Reply-To: <0a31e317c90f601f77cc21b80455633928c70c96.1418184737.git.viresh.kumar@linaro.org> References: <0a31e317c90f601f77cc21b80455633928c70c96.1418184737.git.viresh.kumar@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.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.217.169 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: , Its a local routine and must not be accessible outside of opp.c. Signed-off-by: Viresh Kumar --- drivers/base/power/opp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c index e1807268cbf2..fa065d6e1731 100644 --- a/drivers/base/power/opp.c +++ b/drivers/base/power/opp.c @@ -518,7 +518,8 @@ static void kfree_device_rcu(struct rcu_head *head) kfree_rcu(device_opp, rcu_head); } -void __dev_pm_opp_remove(struct device_opp *dev_opp, struct dev_pm_opp *opp) +static void __dev_pm_opp_remove(struct device_opp *dev_opp, + struct dev_pm_opp *opp) { /* * Notify the changes in the availability of the operable