From patchwork Tue May 29 10:04:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 137138 Delivered-To: patches@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3845425lji; Tue, 29 May 2018 03:04:34 -0700 (PDT) X-Received: by 2002:a19:1099:: with SMTP id 25-v6mr8824861lfq.112.1527588274502; Tue, 29 May 2018 03:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527588274; cv=none; d=google.com; s=arc-20160816; b=0FzM2KIZKjY9NFfDJVYXg+/Ph/tqocpaIxIoStsOtviv1W85RVbxrjhLT6AAGGv4Y1 MrIpGwaQME+/iEG1FnM73Q3yQm6Nyv78GUQ7bzrQXK5mlzQFkp87vtPCeu8+mMjqWyjU YQHMtVBZqVNgg/FmmY0JjWfDQ7wZTU0I8IRk0m8mKIMAjNjiz05Fx516OHFL+fmMjrOA Vildt3cx6qui7osd6T72evfO2PNHgrVop/6BWbBB99Lab72gf0hkXGyixpPziJYxX1Ow kAk6trGM9ec7sra54MnNrz3Py3tMcUVOuoI+QbnNAM6DB/7psrPCqggAbhQxDoqiknBO 6dmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=kJ4tREeZdjrEZ1PQJn9PeK0YWZ+ok/gO9XhnLg3/c5c=; b=Y7pq53ld6pMZr3Sg3RTlalGxs72NvFtHuONVHrA6pXYiOTJLZw7h2f2JeXiXgk/zny dt/UNnkHMG4VXNMgqyt3SWbhzTrr5qEygrp4vqt9+flCdkCQ6OmYkIwjQXUh8UZTluAi noCC3tkMM1cOqsI4wNEuuSJpH50gxmrTj8ZKOf+DV52B06WcOlWS9ufosTbQmYpmYKQI u9vpuuAYRrkOWBzNvThxh1aM8Nv9WluqU0cnisgQoF+ZfZg/F89PGz5baZB3LRE6eODX zt0bDuGrMT8sJDhCpGDeVC5+iTZuVVvqOd2gKdV5O9YYmIFKLI7OnbfDDRVba3vK0xWH TqAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YsanhJIF; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id h94-v6sor6954970ljh.28.2018.05.29.03.04.34 for (Google Transport Security); Tue, 29 May 2018 03:04:34 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YsanhJIF; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=kJ4tREeZdjrEZ1PQJn9PeK0YWZ+ok/gO9XhnLg3/c5c=; b=YsanhJIFu5yoEAf+9u2Mp41yhc2cK15qv3c0zWDkH5U1NdujjSCXHhFWFPs5zGjLlQ TIddHdzm/Sa15svu91vqPz7tOMZL00kUzqN6zVIFKJRXfOOznCHMBkcgiZTipyirZvfA ttITlVq46/WTAIBry5CGD5rrpFkv+WlE9DlRs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=kJ4tREeZdjrEZ1PQJn9PeK0YWZ+ok/gO9XhnLg3/c5c=; b=QYN2qm/sncQyDMA5pIVF2/KGquTi0LwslZMBSyc3Epq3QTY0SoLVnh3SjrWjmW/q22 DoEdHqpDK04MkeVeMPblH68U5tDTN1DytaNPQ/usUJUkhoH38bo1cXDer2G/6RSKIn07 uTi41uOJsiJ2vksmSnJMFmFIm5LuNpWjkesta5RcQKCYgeLE04NCzvWhtuZjNGX9/FlT 4C0lY8wyCOp3IvDxDXbISuKe+EcZl85H35gU3tfZBM4/Muu0qjEJqJvXgd6KBpXxT2Mu +5+i29HAAHNuLXxgunU3HbxS19RPcLnvAtwygmW2xUeAUPWdGcIZvYrAC65PCxGXiwFJ VeHw== X-Gm-Message-State: ALKqPwfXIvQYTk+wIUF4234ahIoh3gBqt485jrjZ0Q69Worhy6ihgflI 06JjNRcnBsYSDzVhs9Ozg8X7nFgl X-Google-Smtp-Source: ADUXVKInPfiT5E08mwa05atlCtkdC9jv2gdESxSgm1xjpp4CXksPDmMOR9EuCK7z+t2hX/AkBD7KFQ== X-Received: by 2002:a2e:8018:: with SMTP id j24-v6mr10481059ljg.92.1527588274274; Tue, 29 May 2018 03:04:34 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-158-174-22-210.NA.cust.bahnhof.se. [158.174.22.210]) by smtp.gmail.com with ESMTPSA id e21-v6sm2561718lfg.74.2018.05.29.03.04.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 May 2018 03:04:33 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Ulf Hansson , Greg Kroah-Hartman , Jon Hunter , Geert Uytterhoeven , Todor Tomov , Rajendra Nayak , Viresh Kumar , Vincent Guittot , Kevin Hilman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 4/9] PM / Domains: Drop unused parameter in genpd_allocate_dev_data() Date: Tue, 29 May 2018 12:04:16 +0200 Message-Id: <20180529100421.31022-5-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180529100421.31022-1-ulf.hansson@linaro.org> References: <20180529100421.31022-1-ulf.hansson@linaro.org> The in-parameter struct generic_pm_domain *genpd to genpd_allocate_dev_data() is unused, so let's drop it. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.17.0 Reviewed-by: Viresh Kumar diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index c89b0ad068b7..7ebf7993273a 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -1316,7 +1316,6 @@ EXPORT_SYMBOL_GPL(pm_genpd_syscore_poweron); #endif /* CONFIG_PM_SLEEP */ static struct generic_pm_domain_data *genpd_alloc_dev_data(struct device *dev, - struct generic_pm_domain *genpd, struct gpd_timing_data *td) { struct generic_pm_domain_data *gpd_data; @@ -1385,7 +1384,7 @@ static int genpd_add_device(struct generic_pm_domain *genpd, struct device *dev, if (IS_ERR_OR_NULL(genpd) || IS_ERR_OR_NULL(dev)) return -EINVAL; - gpd_data = genpd_alloc_dev_data(dev, genpd, td); + gpd_data = genpd_alloc_dev_data(dev, td); if (IS_ERR(gpd_data)) return PTR_ERR(gpd_data);