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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDBB4C433EF for ; Sat, 11 Jun 2022 16:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P2Lo5BiHpavnnLrUkCraGobWf4sen09mxx3U947Lkt0=; b=wwBNMdOl2DR3+/ qtgCkawVtmK0eKfykoPbYb7ZDhfu3EXPDqoI2gk2uEGfaEPRuJW0sVpOksOhk7WyrTVg4LdjIbQHd IoJ6qNMUkci/6f3ekdBDxiewE2k+4cZMAbGEcgbkUr8qvugEj4LATsObEb8IZNnRwJCD1mIZtxQLT 3dMkwmWE9oveecF20OPuJwcHrGG5+vTo4jXrDiG0v6L/O22j5XEGgJ7YXTnQnDS91XCzkVnYerNSV 3tex8unvSm2HKERQ0FO/1FggR+GvE5KTr9TE4w7WpCmFQ6PXKIzdYykIjudFT+CweJltzZ3WYwJVw Q88e0BgFI1kl8W7SdFww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o041b-00DoWB-Ev; Sat, 11 Jun 2022 16:31:47 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o041Y-00DoUu-BJ for linux-arm-kernel@lists.infradead.org; Sat, 11 Jun 2022 16:31:45 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id 94667B8076E; Sat, 11 Jun 2022 16:31:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A7A9C34116; Sat, 11 Jun 2022 16:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654965100; bh=qCwIEMpnsRIufmi3vST+sz+tw/W8NyVbRjkNPScHWiI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SLdsrzSbCA4DC5ou45xrOX+yffeUADxedHv4VEBvVZBc+dI13A9YQFvX95EBLAXQT UeSO9YqTNOkYKE2ok0357UrUzPb/MUGZs/GqA/vMXcNPHIY5TSe3if1QVyGf8HTIC2 58DCXozHGyWXEnAmPZ96TVVIF4lM7vzlkI4IOcxIVqwPILXjDicK9aNxFsXlU2YTYZ vUSqR1OBw36vNP0u+/NDEJUSZiPXfNerKimsoJ82IOlkQ9fkvJwB6zFBJ6/XC4VvZU hnthPhQ99CrrGoHNCIJ/Oolm8IA7ahRwRuhj1iTI+xtT/xxMc7dsLEhCyffTduQwv2 pBi4y0LrOf4pQ== Date: Sat, 11 Jun 2022 17:40:49 +0100 From: Jonathan Cameron To: Claudiu Beznea Subject: Re: [PATCH 16/16] iio: adc: at91-sama5d2_adc: use pm_ptr() Message-ID: <20220611174049.129df964@jic23-huawei> In-Reply-To: <20220609083213.1795019-17-claudiu.beznea@microchip.com> References: <20220609083213.1795019-1-claudiu.beznea@microchip.com> <20220609083213.1795019-17-claudiu.beznea@microchip.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220611_093144_576736_0DAA81D3 X-CRM114-Status: GOOD ( 18.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alexandre.belloni@bootlin.com, lars@metafoo.de, ludovic.desroches@atmel.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, eugen.hristev@microchip.com, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 9 Jun 2022 11:32:13 +0300 Claudiu Beznea wrote: > Use pm_ptr() on the assignment of at91_adc_pm_ops to > at91_adc_driver.driver.pm. Squash this into the previous patch. > > Signed-off-by: Claudiu Beznea > --- > drivers/iio/adc/at91-sama5d2_adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c > index 5d9ad51d0920..221c09532b38 100644 > --- a/drivers/iio/adc/at91-sama5d2_adc.c > +++ b/drivers/iio/adc/at91-sama5d2_adc.c > @@ -2647,7 +2647,7 @@ static struct platform_driver at91_adc_driver = { > .driver = { > .name = "at91-sama5d2_adc", > .of_match_table = at91_adc_dt_match, > - .pm = &at91_adc_pm_ops, > + .pm = pm_ptr(&at91_adc_pm_ops), > }, > }; > module_platform_driver(at91_adc_driver) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel