From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 318E9C43334 for ; Wed, 22 Jun 2022 06:29:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234333AbiFVG3g (ORCPT ); Wed, 22 Jun 2022 02:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235471AbiFVG3f (ORCPT ); Wed, 22 Jun 2022 02:29:35 -0400 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 667E62F64A for ; Tue, 21 Jun 2022 23:29:34 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 7B38F200003; Wed, 22 Jun 2022 06:29:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1655879372; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+uIbel8HSiDaw/zOpmrpLst6SLMn0SHvw1Ynx6AWqhQ=; b=DbuUv5IzWdL8Gsq9/KU6aod0XxwNzEWn9hzW4ZQZ7qKXWd/uKpzxmV1/vB/wTcegauo7hc o1OxGne/SKYIwsZDnSMmacGzXRJ9BlaC0u9Bqnjpjh6Fk6SBAqGV8B5bsrvTs+xqvDyZJJ ZHTLPYkIXz1wLXCi38sps3muahUy9TwGUFcu+nuhCb8TBDXGn3OAopD88nz3kzSyxPJ5d7 RGpFtRuknCPFR2lKsSVcB84kRtyF4XOv/jD9ujaSaoA/3hwiyOwF5MlbG+I9I5mjxOuqXy 2kuX5QmdoGIZ+SAh2ixgQtqx9wHzZo+TajXA6vtGSqd0q5KvIb/6opufX9xKFQ== Date: Wed, 22 Jun 2022 08:29:25 +0200 From: Miquel Raynal To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, Paul Cercueil , Alexandre Belloni , Brian Masney , David Heidelberg , Cai Huoqing , Christian Eggers , Enric Balletbo i Serra , Eugen Hristev , Gwendal Grignou , Haibo Chen , Hui Liu , Joe Sandom , "Ismail H . Kose" , Lars-Peter Clausen , Linus Walleij , Ludovic Desroches , Nicolas Ferre , Marcus Folkesson , Martin Blumenstingl , Mathieu Othacehe , Michal Simek , Nuno =?UTF-8?B?U8Oh?= , Parthiban Nallathambi , Philippe Reynes , Philippe Schenker , Rishi Gupta , Roan van Dijk , Stephen Boyd , Tomasz Duszynski , Zhiyong Tao , Jonathan Cameron Subject: Re: [PATCH 08/36] iio: adc: ti-am335x: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() Message-ID: <20220622082925.6e9c15b0@xps-13> In-Reply-To: <20220621202719.13644-9-jic23@kernel.org> References: <20220621202719.13644-1-jic23@kernel.org> <20220621202719.13644-9-jic23@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Hi Jonathan, (second try, with a reply all...) jic23@kernel.org wrote on Tue, 21 Jun 2022 21:26:51 +0100: > From: Jonathan Cameron >=20 > Using these newer macros allows the compiler to remove the unused > structure and functions when !CONFIG_PM_SLEEP + removes the need to > mark pm functions __maybe_unused. >=20 > Signed-off-by: Jonathan Cameron > Cc: Miquel Raynal Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l