From patchwork Thu Dec 3 22:53:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 336957 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp685946ilb; Thu, 3 Dec 2020 14:54:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzaBYP0JS+eeOg6W2/E2RGEznViSRCKP++/1iIl1aJLr8+qnE5jzbwE7wL9nZOWuKUYdur X-Received: by 2002:a17:907:2108:: with SMTP id qn8mr4577057ejb.127.1607036072580; Thu, 03 Dec 2020 14:54:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607036072; cv=none; d=google.com; s=arc-20160816; b=nF5o1/CiP8BcChe6ETaHyGFQSMs1JQfdbh3+dIuyyK8RtNshCbI745Y2eKql3Eo56F nKWWzulQt/hhILkKdBujqXJgpPdc0+zEzlmF9vY2gJKkyZz8tLHg+iaY25uQ8c+CsrkF DvYv1No55eQ1w7RJGseU7nIR8aveTXqqVTrd5IxS0Nr5R3dGnoGXk9jQqlNy/vung1q+ yCW43VGIHPjzgWvsMbzAkJ9pMwUOaI1XZCxr6SXmJxFB5CsgGKVWZC6ZGU4WRwfLOCHR iMCmdybSQrW0xSiqOvrXtpYbCJFDn3aBNxCUsOUthhMQHr27aioDE+WTwOV5xkeMrm9q +fqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=e+c9xW207sCvPOeEulCb4dQWAC/zk+CH1jjIqslImQs=; b=qB25bHXMXTVxQI40cCGDBVvuIiZ+7TphgAmgORnqybW+vAW6as/xmKc7GUpim5HVh3 VenW5XjiitDM4/GIpynlFE7K81kxQmGoAWq41GY2RbuvA5L2MDQQFuQGK5oIeIolEqqw 26NWn9eVqyNFJcXT54xolZW+5NU9fgKbggK6IhYHTnkCihqJws0GoFziBX7NmRBjpI9C 197Ju/2fGJSh+gb+qWBseGEV/i8vgDapCbEGFGs0QRSjKIODmQyM1qhB64qwGljAhPTn cr2wTBifGn7WYLwP5/PaoWiRW8heMPuq3E9BT/dxrD/CQ77GHis8Y3dOvQXpenjMX5wn Urqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si245261ejq.611.2020.12.03.14.54.32; Thu, 03 Dec 2020 14:54:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387474AbgLCWyC (ORCPT + 4 others); Thu, 3 Dec 2020 17:54:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:59238 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727533AbgLCWyC (ORCPT ); Thu, 3 Dec 2020 17:54:02 -0500 From: Arnd Bergmann Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski Cc: Arnd Bergmann , linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: samsung: mark PM functions as __maybe_unused Date: Thu, 3 Dec 2020 23:53:11 +0100 Message-Id: <20201203225315.1477137-1-arnd@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Arnd Bergmann drivers/clk/samsung/clk-exynos-clkout.c:219:12: error: 'exynos_clkout_resume' defined but not used [-Werror=unused-function] 219 | static int exynos_clkout_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~ drivers/clk/samsung/clk-exynos-clkout.c:210:12: error: 'exynos_clkout_suspend' defined but not used [-Werror=unused-function] 210 | static int exynos_clkout_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Arnd Bergmann --- drivers/clk/samsung/clk-exynos-clkout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 Reviewed-by: Krzysztof Kozlowski diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c index 9ec2f40cc400..e6d6cbf8c4e6 100644 --- a/drivers/clk/samsung/clk-exynos-clkout.c +++ b/drivers/clk/samsung/clk-exynos-clkout.c @@ -207,7 +207,7 @@ static int exynos_clkout_remove(struct platform_device *pdev) return 0; } -static int exynos_clkout_suspend(struct device *dev) +static int __maybe_unused exynos_clkout_suspend(struct device *dev) { struct exynos_clkout *clkout = dev_get_drvdata(dev); @@ -216,7 +216,7 @@ static int exynos_clkout_suspend(struct device *dev) return 0; } -static int exynos_clkout_resume(struct device *dev) +static int __maybe_unused exynos_clkout_resume(struct device *dev) { struct exynos_clkout *clkout = dev_get_drvdata(dev);