From patchwork Fri Oct 6 07:08:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 115038 Delivered-To: patches@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1455158qgn; Fri, 6 Oct 2017 00:08:40 -0700 (PDT) X-Received: by 10.46.77.9 with SMTP id a9mr450851ljb.127.1507273720242; Fri, 06 Oct 2017 00:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507273720; cv=none; d=google.com; s=arc-20160816; b=vYf3MSDCzP/GIDaRZyp3MrntqKsVLoUzUdCGH87lELmx1u1ZkD1JXjk7B8EHyMAcAi Q2Bl8Hk+dtIdCVzAc1eLBqdhvotAsVYH1cHoZwNEnCLcTAf39alB5ZDXHgUrSK3F+eU3 jg9xFxn09FnJ6f59SC93GWckN8FJ+nsOWamZDoz94IuGU5CJCNimbwjAkHy00Ce0bpHV qCRXIT59jfx1PIsGx/kvquthxr9cyib0hYeNmECXGSsm7+7toMwM9B3Wd/VNmAGA7Dxf lxcnybfUZI922pjlUqQq5CS4HdLcMpZ5dgBsSE6EDhyKdm8MbzC5jxnr5Hu9zC14fM6w s1Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=mvOop0fuUQHGgc0i8GIuFMWb3syU6SIG+5iR0Y5zU6o=; b=GhPNmTEdaJ6MaZ+qYIfTtObOFZ7WHiVyQpgmkeUJugNUdJRZMUZE/fDHMUFF4QZc+E x7cjuWXthUpyGEsWTayQB5SKJ9Et9yepALzaK7R0UfTIXfLVo8DqgMrq2NhgO14+TBk7 hQaH7QuRsDvVXyizk62DNynJsssyN0aRvTHMVebD0UkPTTnFCdzL5f81XEFkU4BBlRFE PhHr2p+7roxmjl/PkfKKj41B/YASx5iz3TpHmWZ3Zf5zIr3u6G+1/4c/Mku99RX9FusL hXzQMJvSdK/0PUgWhlFpu6fPpP2zLKvs77bXzT5GFwTZN1wJMpflZz+zwXv/VzN8NNEl 2vgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OKCZhaDK; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.41 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-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a73sor121667lfb.97.2017.10.06.00.08.39 for (Google Transport Security); Fri, 06 Oct 2017 00:08:40 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OKCZhaDK; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.220.41 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; bh=mvOop0fuUQHGgc0i8GIuFMWb3syU6SIG+5iR0Y5zU6o=; b=OKCZhaDKB+v7Q0iq5M9uu10lM8pHsKoD4nVdRlBXHECEJdlyq19oOFWcIsLuKbWm85 REZP1kVoh84v5zvV0sF2qSETjfCrMdrEF1bFxzNviHnAgg6IaudTml5T+6ond/bSd/Ux CLvCifQYgUdJrV6a3LQTiwbFLAByEOCCxmEFA= 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; bh=mvOop0fuUQHGgc0i8GIuFMWb3syU6SIG+5iR0Y5zU6o=; b=kankBhQabvGM4WYfgS3G9A4zVac2OE8MkM9HkBw6auWu2M8Gugtsk+3bPsvyzGmLyT eZyOvyy17hff4Wv0S6M2NXOcc4yGuNtSNlj4ZsYlIIhu6SK4w/RJA3fUiHjirsOvcXDj 5IXJme5EUPFd6+wypjWtX3wZNN4zHS2qd9nX5Sg/g+GVRLpTXDs/7rYRwzMpoXiPfIJV 2fHsjMKsShCOHT6FLFUsf9Y9ihBEETS3qR5D+SW1mycrTCZTEN53Fy1tLB0MatNBXQkA HPsAf0kC5Oa1PzmZSTmPIm8ZP83+RyeDiPVPTTB4JDlCMKy5UrvOh3JlmBtIhGy96+Cc 5Atw== X-Gm-Message-State: AMCzsaXKrfE/EuX+g6XyZn+jiEWUiqXUelFHhgLgHymD0VkX6f4dvTig wSLM4tlZrdBVW18PztKQQ4rNo7yT X-Google-Smtp-Source: AOwi7QBcCVdgLyGj8dGVXNv3da0V6F/Im8DVezG9IRMJgORDH4440ecuye7Df703Eu4/OdEzUz78ww== X-Received: by 10.25.16.28 with SMTP id f28mr433766lfi.133.1507273719813; Fri, 06 Oct 2017 00:08:39 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-158-174-22-67.NA.cust.bahnhof.se. [158.174.22.67]) by smtp.gmail.com with ESMTPSA id r29sm172253lje.90.2017.10.06.00.08.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Oct 2017 00:08:38 -0700 (PDT) From: Ulf Hansson To: "Rafael J . Wysocki" , linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org Cc: Len Brown , Pavel Machek , Ulf Hansson Subject: [PATCH] PM / ACPI: Removed unused function Date: Fri, 6 Oct 2017 09:08:34 +0200 Message-Id: <1507273714-26394-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 acpi_dev_pm_get_node() isn't used or implemented, let's remove it. Signed-off-by: Ulf Hansson --- include/linux/acpi.h | 5 ----- 1 file changed, 5 deletions(-) -- 2.7.4 Acked-by: Pavel Machek diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 502af53..3b89b4f 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -868,17 +868,12 @@ int acpi_dev_runtime_suspend(struct device *dev); int acpi_dev_runtime_resume(struct device *dev); int acpi_subsys_runtime_suspend(struct device *dev); int acpi_subsys_runtime_resume(struct device *dev); -struct acpi_device *acpi_dev_pm_get_node(struct device *dev); int acpi_dev_pm_attach(struct device *dev, bool power_on); #else static inline int acpi_dev_runtime_suspend(struct device *dev) { return 0; } static inline int acpi_dev_runtime_resume(struct device *dev) { return 0; } static inline int acpi_subsys_runtime_suspend(struct device *dev) { return 0; } static inline int acpi_subsys_runtime_resume(struct device *dev) { return 0; } -static inline struct acpi_device *acpi_dev_pm_get_node(struct device *dev) -{ - return NULL; -} static inline int acpi_dev_pm_attach(struct device *dev, bool power_on) { return -ENODEV;