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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD245C48BCD for ; Wed, 9 Jun 2021 20:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D2BA613BD for ; Wed, 9 Jun 2021 20:10:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229797AbhFIUMn convert rfc822-to-8bit (ORCPT ); Wed, 9 Jun 2021 16:12:43 -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-iio@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 >