Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5266054pxj; Wed, 9 Jun 2021 13:14:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKDt1l/hhRIx0vK8px/a+6qFRstcK1nzwZdGba2QDQmKGCtorj1HpyK9bH+H+pex7v82Nj X-Received: by 2002:a17:906:1c49:: with SMTP id l9mr1442848ejg.39.1623269696992; Wed, 09 Jun 2021 13:14:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623269696; cv=none; d=google.com; s=arc-20160816; b=m6gwab7mIJqBnU/110pmE8gV/3HYS4IokCtLVMxYLG7/qFbrnMSR+LAapW1NzS9gVv h1fWTfLYxfkGNI2bu6vx2E44cmht8j0C++5/XxRZk8stQW/IIkkDqxEZ2xdSgWJXUt3O 0H79cBZEpfg8n1tYIxG/9iOfG8BhfQLfKTk2Ckne3CoxdJ5V7OzzQRo6Ie8T8AkmhT9t D2ohtyox37TJKKZBqIXBJj/tuMF8p3+o7VUMTINfoa9FWeQ9LDxf/zcQ85StH3ByEJpH fkD5SAiSL3i+zEvrAtlnkE7rtnn0itVXJMetFiU7pyYpBaeI1EAQcfliatrz4RSP1fs5 7x4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=hr0P1hMjAE1j5Eu8ZAmsBiaLte+75qWT6nisa6ZJAVw=; b=wA4TZOXi9CsAkEXOVzsUHh0eIxwJQPsTBSyDgjGBWN/Mg1h5vEwFGJHdWvoBCxvXN9 VHtRbWcSZ3x4Y8iOVDb0/wTzwl8+MnSu/ZVpV3Qz6Uz3rFMvvapM1t0Z3dCt0p9tIR3M kuxnSbv59ScNn3DnCc4vDRIVRIJedwJYrsGok0LSbwjN8hz85wEpjq/3ihltXH1itgQ0 AEKujJJLDL2Y7qB2H6BiFlR2QUZ5FKN0uX1jsGIhBFjA9oEiNY6NVn8ZWc/jDky7g1u/ Z5sE0H5EqGoQIEwNcxGovSLklHyiWPHG1Jo18tOl4ySxOoMRnYSQRNNFqmJHgSzOLEyK Y/mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si463450edx.578.2021.06.09.13.14.30; Wed, 09 Jun 2021 13:14:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbhFIUMo convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Jun 2021 16:12:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:52550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbhFIUMn (ORCPT ); Wed, 9 Jun 2021 16:12:43 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2F40861249; Wed, 9 Jun 2021 20:10:46 +0000 (UTC) Date: Wed, 9 Jun 2021 21:12:41 +0100 From: Jonathan Cameron To: Alexandru Ardelean Cc: Alexandru Lazar , linux-iio , LKML Subject: Re: [PATCH] iio: adc: remove unused private data assigned with spi_set_drvdata() Message-ID: <20210609211241.28ddd3a2@jic23-huawei> In-Reply-To: <20210513155552.12f64241@jic23-huawei> References: <20210513111035.77950-1-aardelean@deviqon.com> <20210513155552.12f64241@jic23-huawei> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 May 2021 15:55:52 +0100 Jonathan Cameron wrote: > On Thu, 13 May 2021 15:14:57 +0300 > Alexandru Ardelean wrote: > > > On Thu, May 13, 2021 at 3:06 PM Alexandru Lazar wrote: > > > > > > > > > > Some drivers were copied from drivers that fit the criteria described > > > > above. In any case, in order to prevent more drivers from being used as > > > > example (and have spi_set_drvdata() needlessly set), this change removes it > > > > from the IIO ADC group. > > > > > > Oh yeah, I'm pretty sure that's how I ended up adding it in the max1241 > > > code, too. Code monkey presents humble apologies :-). > > > > Well, I also added one in the AD9467 driver in the same manner. > > So ¯\_(ツ)_/¯ > > > All look correct to me. I'll let this sit on the list for a few days before > picking it up. Applied thanks. > > Thanks, > > Jonathan > > > > > > > All the best, > > > Alex >