Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1314723lqs; Sat, 15 Jun 2024 03:59:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUo0zsvuhNmEij9UV0zko0XuDTdPjK7/Zx2E5objNvAWF+HR+M1eq8ugmBh7KzsuMgAtejpMo+X9EQcTThOtnpprSUI2Y3PBDe/5MReMw== X-Google-Smtp-Source: AGHT+IHVCL8OkC2wsvfzWnzw+jHFQJKN7VjNWnyKRzjPOGJVsZtOncOXl9+YhwfToCLr1kqYLDHI X-Received: by 2002:a17:906:ecb8:b0:a6e:fb9b:6769 with SMTP id a640c23a62f3a-a6f60de5fd6mr338292566b.75.1718449141582; Sat, 15 Jun 2024 03:59:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718449141; cv=pass; d=google.com; s=arc-20160816; b=PX3i5KOf6B62g6eAQTGGaMbWsryuoMyQY6lUXfipCR0GUwLGKtil5Tl9MK0WR0j+eh Op1P37DJyRfzTBqJRUznG2O6n4p4lODXQNsWKW1YVqq92uZF1/J+c1duQ1PL+N/PosTC AB/KLOuKh2Q48CAFc4KqELC8YvxICTvp0lVPHWl12C4u6E0Mcfyiu/PQ7KBE0ZkQh+0l 3qCdceqXpRniRIhI8BW+snu6jwq787BDujKkVXfhTN1w1p6nAiSPVVRFipARJ6d3qBH1 nebCR+4BjgfrTEFJqe+65+OLAJM+2st9urNTj4JBU9/WmR56+iUXZQ7cnaqQL1TtLp0Q HH/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=KHpi5REaPp1oWxZV6rw+QDN1g6Hu4+4EjPoSPnhzpaE=; fh=I8dCk+3uSiWNWGZxk/LXFpf6wg6+zogwK6xbpFor3dw=; b=ZaS2DQRkPl7BcN71DfPpH/9ElNcAhuFJRCtRFQJWETJJZKSwTr/qCifyjUtUQj/dJO RZwNLry4RVJUZuJTt4YRq0YAbOi2MNvOAh8nHemgsaJWK4MgdyWfnFIEfNbFUoxUK3Jf 9gduc0vB9s+KUaQLYgkuu5c27p2p+pRorQX6qdEduvyAYdTG7hnAr/D+JKYN2OOSHSpU 5RGn1kBdwuGputuqpvEeeW4LPvhIOQO8irihXYHT8GL1IVaOQ2gNDBWUYqhluua+UXkt eRVCV+jTjDvujF3TCCzNkEA2oktAQrEzQ+PWy6rz/g7wfpOvCuyIt+77mgd4qmP1lzhl UEng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UDPsCn8C; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-215845-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56dd5e62si266419566b.379.2024.06.15.03.59.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 03:59:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215845-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UDPsCn8C; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-215845-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 453041F21F8B for ; Sat, 15 Jun 2024 10:59:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 660E33A27E; Sat, 15 Jun 2024 10:58:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UDPsCn8C" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A03710A1E; Sat, 15 Jun 2024 10:58:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718449130; cv=none; b=RRnHez94QbRZL+0uVmUrKYB9+gpznqM0uTPnWF/3PhHir8eo/4KEc4d0O+TDovVAMNNiLSyR5EbHwgFfJ0MzrMNuF8GFhBPfHw9hSDXS+00gSDrPisC2XMvCsPO7GyTtJ/KunXWtlgynz6b7tCnBBXwuv0adZfO2dxs90b/RGrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718449130; c=relaxed/simple; bh=6gLpOjQTe62mKE/6lFyVmrZFRTz5mT/LwMFTyqJjxDw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cWCwXFkcziYqdM1j3VlLW6Z98qP+bRH5vD7RG25NgLLxeHf8R/b1mzSnFFP2j0l+jCtdsQ6+a1/8B09In6qL8FKyEjYBIKgTYUuPpqTC2vRLAVNLgRT+1+Ut/bj3LMYfTTPnvlZqtsDOK2Gox30y3Y4cwVgfSLHey3AzLuB4IUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UDPsCn8C; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1181CC116B1; Sat, 15 Jun 2024 10:58:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718449130; bh=6gLpOjQTe62mKE/6lFyVmrZFRTz5mT/LwMFTyqJjxDw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UDPsCn8CNj6WXoNHv3DVPYIvXUrSNuzDO52kPNUSfKi7y/b0bTYvfRsJWUo/RJKyn PTD7YdhjRcM/QZkqd3Azi6yyAGyntVzOLhyduG66bAUpsp4ok+sILM7ebAmX4JmlWb F/BYhPcLOR+ZdGaSQQQjZbGJdJje+mB3LSXVrXh5205Uj6YSitInNFtaBM0GeyGX+C 9hBBqRWqvtnQp3J8hlbjDKeFpYjxZptge4XyHS2caFFHjxnqCgVba7iMpBde6Ej5WC pHCKK62wrFsla+ki38eJyiCJmAh25lpLqZlfgPVizNY2fr06DyPtfoHBmAMsa/7Zel 1B6Dlve0vjh7A== Date: Sat, 15 Jun 2024 11:58:40 +0100 From: Jonathan Cameron To: Alisa-Dariana Roman Cc: Alisa-Dariana Roman , Jonathan Cameron , Michael Hennerich , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandru Tachici , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown Subject: Re: [PATCH v4 1/5] iio: adc: ad7192: Clean up dev Message-ID: <20240615115840.6b2ae684@jic23-huawei> In-Reply-To: <20240613114001.270233-2-alisa.roman@analog.com> References: <20240613114001.270233-1-alisa.roman@analog.com> <20240613114001.270233-2-alisa.roman@analog.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 13 Jun 2024 14:39:57 +0300 Alisa-Dariana Roman wrote: > Clean up by using a local variable struct device *dev. Also use > dev_err_probe where possible. > > Signed-off-by: Alisa-Dariana Roman Applied to the togreg branch of iio.git and pushed out as testing Thanks, Jonathan