Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1221026pxu; Sat, 5 Dec 2020 08:02:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyzB7jawPazKCvjvu/M6ydKt5hvL5edhY35XoHRuiE7RVFzO5x1eqkp1tr1wd4EZEXC+qG X-Received: by 2002:a50:ed04:: with SMTP id j4mr13071320eds.84.1607184148909; Sat, 05 Dec 2020 08:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607184148; cv=none; d=google.com; s=arc-20160816; b=WtSG+wfJj/vIrsB4pDUSn4Fb1dA8oQd+ozh9Axy8oBN/rUFc2TASqv6AVqFbTxozCY BHekgM7ZVGsOS02UEuzPpLgBt/6adP+k3M76GOty2IHD7e4wKF3bwC0ih8LStBS0dHto IWZKmTtvUh2wETQMljYLnur0GvP1v4H9KM/R+VxREhL5wMTZnHP4dAAAnWtXrDu2W4g/ IRxJ2M17DVL1Xjcf7Ly67Qxb7S+Xtdt7fL05H+2sWThVba+EfJqQy50FDoTI9m2Hzb3v chsr3MODzOWuAjgZEcbk2rMSUlWV9jJz/d67K5qO9G5DfNM9JnkqsLVp1DgaymbgJ0Ei uLvQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9BVsFkA3JVy4+m/AVWLUy02wQFNWOhS6r+pYJsKh2M4=; b=w+jdEoqhxxtlHLQXBp2eEfNF78ZdsPRjJhYBsNed0YmKvP5uWGMyXGJljUr1e/Zvn/ Gh4Ns3jdUXIXdR2puA4a9zzbelhjvUY8JAHQqJdN8WgMTWgpAqfa6NFb3VVSzt70WFtm iGgc5bRegwVIBxmltGuHS9p0qIQvlwv5ZBbJcvwIpL61mA1cmGxhWHESdPArqm8sB1jd Kc75OlCHdMn4je1tfB3wiAHrHytpFhCcfDepntsOvFEcOPD6kGP4e+Jv4rCE5sTv8OIa zcPKPXBGsN0OERLPBsQnF2fEPlUvfN9aucGz3hEE/TVg47qBwJYTL7S1KaFiimp5z/6j hdnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 hs9si3822691ejc.187.2020.12.05.08.02.03; Sat, 05 Dec 2020 08:02:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1725911AbgLEPZx (ORCPT + 99 others); Sat, 5 Dec 2020 10:25:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:44128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbgLEO73 (ORCPT ); Sat, 5 Dec 2020 09:59:29 -0500 From: Krzysztof Kozlowski Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Sylwester Nawrocki , Michael Turquette , Stephen Boyd , Chanwoo Choi , Tomasz Figa , Arnd Bergmann Cc: Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] [v2] clk: samsung: mark PM functions as __maybe_unused Date: Sat, 5 Dec 2020 15:14:01 +0100 Message-Id: <160717762368.10558.8515675598564010108.b4-ty@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201204091616.4128366-1-arnd@kernel.org> References: <20201204091616.4128366-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 4 Dec 2020 10:16:11 +0100, Arnd Bergmann wrote: > The use of SIMPLE_DEV_PM_OPS() means that the suspend/resume > functions are now unused when CONFIG_PM is disabled: > > 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) > | ^~~~~~~~~~~~~~~~~~~~~ > > [...] Applied, thanks! [1/1] clk: samsung: mark PM functions as __maybe_unused commit: 4c44274ee457e3f7012dc532c8c9cc8964a82612 Best regards, -- Krzysztof Kozlowski