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 F20E6C32771 for ; Sun, 18 Sep 2022 17:42:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229599AbiIRRmA (ORCPT ); Sun, 18 Sep 2022 13:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbiIRRl7 (ORCPT ); Sun, 18 Sep 2022 13:41:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F368120B4 for ; Sun, 18 Sep 2022 10:41:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0B9356163C for ; Sun, 18 Sep 2022 17:41:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20A02C433D6; Sun, 18 Sep 2022 17:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663522917; bh=5cR8leTuidRg+pXYq4omcIKIE5bmdA17myjJqPvQ7fg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=f05A0Au13TNsKZBR9Regg0CrYZAceKm2TybNU0g+VTq1IxdgITWmxGuip89nczyKZ QVfl/9swH36AB8KgcQsYtq7LSLIJ4ugdokNyYOHsaoW23xYXaqL+eq6bEGQkqB0We7 JyMkaOavlHVAGdtoFTsBU/aPa8yYm0Qcb3Ub4m6GL9RzLfJ//Q8doYx3jNmmj+Rldt pTZ+rgQICmtef4xCmwVLCSpCSeM2F9B1omlC0cKXxconu4GzwE/OZr+bwVxrTHzJ1Q 6GZpk5IeQRKEFNILKol9uVz2OewVTLu5SH9wXNpkuZ/4rPKQOeLpdRLQANgqFfkQ2F 7rMdVoN4uQbog== Date: Sun, 18 Sep 2022 18:42:00 +0100 From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Paul Cercueil , Gwendal Grignou , Andreas Klinger , LI Qingwu , Mike Looijmans , Lorenzo Bianconi , Jonathan Cameron Subject: Re: [PATCH 6/6] iio: light: st_uvis25: Use EXPORT_NS_SIMPLE_DEV_PM_OPS() Message-ID: <20220918184200.00b663aa@jic23-huawei> In-Reply-To: <20220807185618.1038812-7-jic23@kernel.org> References: <20220807185618.1038812-1-jic23@kernel.org> <20220807185618.1038812-7-jic23@kernel.org> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Sun, 7 Aug 2022 19:56:18 +0100 Jonathan Cameron wrote: > From: Jonathan Cameron > > Using this new macro removes the need to mark the callbacks > __maybe_unused. One slightly complexity in this case is that > the export will exist if CONFIG_PM is set, but only be used > if CONFIG_PM_SLEEP is also set. This is harmless. > > Signed-off-by: Jonathan Cameron > Cc: Lorenzo Bianconi Applied