From patchwork Fri May 18 10:31:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 136282 Delivered-To: patches@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1056618lji; Fri, 18 May 2018 03:31:53 -0700 (PDT) X-Received: by 2002:a2e:954b:: with SMTP id t11-v6mr5650363ljh.138.1526639512993; Fri, 18 May 2018 03:31:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526639512; cv=none; d=google.com; s=arc-20160816; b=jL3SVVoMMZGtFu067MfvvsflhUhpb/Zc+9xknVV+yFWqqvYOSstffUBvn0S7ODPDGh cfl11Qaecl1w18fswaqPYZ43Onr3taYCj9bzAw7fSOyGvk+kAROMgHLhC3pwNNsbl7c4 Vj+8C+vn5eIWAWKDjH+QhFkR9PUVPSSLRnxDKzR8S6A1gUKUXPJFwSiI8mr4eYa0Bj8r Wql8p4aBj41laG8VcllwNO3k/QKa5rVvJs9/D6AyMqauUJxdZKawxNdScEaZeKMY0Urs mo3BJJz1VylezC+d8gTc7gNZ6glBTJjVYL7dnknr3Xyg5aH4jyVD88GYyDuqblpJ2eFU 4tVg== 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=AO4Qa5M//3zUMqNYe4J+qW+VkFpbLbZ8jACmAJcz7Ao=; b=m8tBPCLUmrIcYaQ+WaQPAfxIS3WnBCcvhmcZWc5GCclvx8Li7f7Z+3kdvBgk6tI7vv NnqZS6azB4HHZJ/Mua/wAYqHF7ZxqxLmXmaeHIFidTbZ1NM43N2CpWYzkevl5KzYsK0w vQV2oz1CJGyh9qtTf6lMumzCN2I/myyykh0OLTXbk+fOFHwJqS5GJebx+IXt8PudEJBf xRGX4s0+9AijwxvkYD3e2i/Jfx0B4jkFTZIUj6Jm+acA7o1JzWG11HwMUVO+TxkirguS EOC2VYqyMCDRIuJ82o8wLEVv5ec1Str03Tg43qxbJFPBP7vUnLPF8G4s/es/quMjFoGb 3X5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QhH30i3S; 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 d188-v6sor218950lfg.45.2018.05.18.03.31.52 for (Google Transport Security); Fri, 18 May 2018 03:31:52 -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=QhH30i3S; 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=AO4Qa5M//3zUMqNYe4J+qW+VkFpbLbZ8jACmAJcz7Ao=; b=QhH30i3SOCfTPWugwTRcLUG4jGu3LrakT+Ht5Tl6Iu/NIoOsmY+Ez7M6cvPp2fTNUX xIQ2xUfZHF/gTxY5lrsw3WWdC6X0AiO5XobD6ucPlCogJAEc0X9naah89eBONQ4Ii7Jb CPuWUDz7ufjuIFJvrSjguJMus08rbIrkKca0c= 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=AO4Qa5M//3zUMqNYe4J+qW+VkFpbLbZ8jACmAJcz7Ao=; b=p5Z83fdxaGuri7u0+H27ELNyoxKDcqXNV06hQVa60ZzCwNyDbeBf9pZDyacVCmsy+/ tDSw8u/N7k+hAQtdJn41YTJQY6wDp4JrM8tQOFTvvv8GwmGxNdWQ6XybLsL/n1Hn1ySF 6PHET4VB4X5N/hwOHuAOL46VE9Psqnl2dD2ewNmI/ytikGaPPHd62AvWuQA2oVJ2KrB+ 1Z7wO5xMrDhFnkyiio12ZDvqLU1CibdmByLm6DlRlYGgxb4uHvRd8w943BXozvN16Izv FqZ9bvBd8W9Whmg9D+/BvGA40FDcTNmdl+xiuTh59WPo+4aZDMzMP923hFXxKqgpjfGA ywJw== X-Gm-Message-State: ALKqPwecSmCl3N50tuyKOzKnfklGZcsS9NBia2ApYL7t2pQp1+0woor8 nemqWe+X/J/G6x/76Lxn0sWSK2v3 X-Google-Smtp-Source: AB8JxZoAvL2q68KhQPs7hD56Svq93grsBsKVTW6zSin50UT48+5IZqw15RiJjN6ZpZkrhdZgAzn7sg== X-Received: by 2002:a19:d763:: with SMTP id o96-v6mr19825161lfg.89.1526639512770; Fri, 18 May 2018 03:31:52 -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 u14-v6sm393447lfk.55.2018.05.18.03.31.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 May 2018 03:31:52 -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 4/9] PM / Domains: Drop unused parameter in genpd_allocate_dev_data() Date: Fri, 18 May 2018 12:31:25 +0200 Message-Id: <1526639490-12167-5-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526639490-12167-1-git-send-email-ulf.hansson@linaro.org> References: <1526639490-12167-1-git-send-email-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.7.4 diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index f08fa15..050ce07 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);