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 EAB55C43334 for ; Wed, 22 Jun 2022 11:21:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357353AbiFVLVu (ORCPT ); Wed, 22 Jun 2022 07:21:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357444AbiFVLVg (ORCPT ); Wed, 22 Jun 2022 07:21:36 -0400 Received: from onstation.org (onstation.org [52.200.56.107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F19943E5F4 for ; Wed, 22 Jun 2022 04:19:52 -0700 (PDT) Received: from localhost (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by onstation.org (Postfix) with ESMTPSA id 2D7D9400A5C; Wed, 22 Jun 2022 07:10:16 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 onstation.org 2D7D9400A5C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onstation.org; s=default; t=1655896216; bh=e+XngP1YPYRfBr2FcbK2vfv/G+oP2iWU5NGXmYQSPXg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DFg6IrUbiZHxj44gnXydnsMr4XyNrYQ0OmblWhgIDC77n27+1sqsUr8yCvyW62PaZ +wE7ujcvmIkFzKPE/+t+wwpZCliqOE8zbbf/P4WD3SevviatTd07+R6VqSK5kQbfRi OtKIssJ3EPv+gwT12jo6gnRKJ2tw1Q/MzGpJYCn0= Date: Wed, 22 Jun 2022 07:10:15 -0400 From: Brian Masney To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, Paul Cercueil , Alexandre Belloni , 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 , Miquel Raynal , Nuno =?iso-8859-1?Q?S=E1?= , Parthiban Nallathambi , Philippe Reynes , Philippe Schenker , Rishi Gupta , Roan van Dijk , Stephen Boyd , Tomasz Duszynski , Zhiyong Tao , Jonathan Cameron Subject: Re: [PATCH 30/36] iio: light: tsl2583: Use DEFINE_RUNTIME_DEV_PM_OPS and pm_ptr() Message-ID: <20220622111015.GB11035@onstation.org> References: <20220621202719.13644-1-jic23@kernel.org> <20220621202719.13644-31-jic23@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220621202719.13644-31-jic23@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, Jun 21, 2022 at 09:27:13PM +0100, Jonathan Cameron wrote: > From: Jonathan Cameron > > Using these new macros allows removal of unused pm_ops structure > and functions if !CONFIG_PM without the need to mark the function > __maybe_unused. > > Signed-off-by: Jonathan Cameron > Cc: Brian Masney Reviewed-by: Brian Masney