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 7694FC4321E for ; Sun, 4 Dec 2022 18:09:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230201AbiLDSJT (ORCPT ); Sun, 4 Dec 2022 13:09:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbiLDSJT (ORCPT ); Sun, 4 Dec 2022 13:09:19 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 863B211149 for ; Sun, 4 Dec 2022 10:09:18 -0800 (PST) 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 1CE3B60EDD for ; Sun, 4 Dec 2022 18:09:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C26CC433D6; Sun, 4 Dec 2022 18:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670177357; bh=/dCRszoLcj1qV28iCaeHCN5qlhpgpEV5fwBvL77bAec=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BPrtsVEWLc0TisZfluE1JKetBhzGy36U4vEGb8lfKdFguyzLLjuMco5vNBJaD8jvE /dDo65x6NjLYq+y7Ee2Ecli82q6nCPoiryX4yqQxdLY4y9x66zBoKcutn57f0hPBsp Cy9ndKPgQNGmw1LlfbdhccXnSTpit+GFvthDB8lLMmzGOdPU/JFdGSkOkTvsZPKAFF XmwHRzl2yXt45LIWhRYhloX17+26bRZ2sDN+iJOm2CFr0GaRtSo+86ASYBI2gKPoM3 UYyOukIK/fzitSigN72Nl8/ZbMRJScFYqXscrMtNEuFu7I5MvILP6f+Cx8bnmFlMMY b1D8TuPZKRmbQ== Date: Sun, 4 Dec 2022 18:22:01 +0000 From: Jonathan Cameron To: Matti Vaittinen Cc: linux-iio@vger.kernel.org, Matti Vaittinen , Cosmin Tanislav , Jagath Jog J , Sean Nyekjaer , Dmitry Rokosov , Linus Walleij , Andy Shevchenko , Michael Hennerich , Lorenzo Bianconi , Martyn Welch , Gwendal Grignou , Stephen Boyd , Tomasz Duszynski , Jonathan Cameron Subject: Re: [PATCH 14/14] iio: pressure: ms5611: Switch to fully devm_ managed registration. Message-ID: <20221204182201.42dcd76a@jic23-huawei> In-Reply-To: References: <20221016163409.320197-1-jic23@kernel.org> <20221016163409.320197-15-jic23@kernel.org> X-Mailer: Claws Mail 4.1.1 (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 Mon, 17 Oct 2022 09:30:01 +0300 Matti Vaittinen wrote: > On 10/16/22 19:34, Jonathan Cameron wrote: > > From: Jonathan Cameron > > > > All the remaining calls in probe() have devm_ equivalents so > > switching to those allows the remove() callbacks to be deleted. > > No functional change. > > Right :) So please ignore my last comment in the patch 13/14 :) The one > concerning the commit message is still valid though :) > > > > > Signed-off-by: Jonathan Cameron > > Cc: Tomasz Duszynski > > Reviewed-by: Matti Vaittinen Applied to the togreg branch of iio.git - some fuzz due to crossing with i2c probe_new() mass conversion and the changes that affected the previous patch. If anyone wants to sanity check the result, see the testing branch of iio.git in a few minutes. Thanks, Jonathan > > > --- > > drivers/iio/pressure/ms5611.h | 1 - > > drivers/iio/pressure/ms5611_core.c | 17 +++-------------- > > drivers/iio/pressure/ms5611_i2c.c | 6 ------ > > drivers/iio/pressure/ms5611_spi.c | 6 ------ > > 4 files changed, 3 insertions(+), 27 deletions(-) > > >