Received: by 10.223.185.116 with SMTP id b49csp1742762wrg; Sat, 17 Feb 2018 04:27:45 -0800 (PST) X-Google-Smtp-Source: AH8x2278d+slH+rnujBENHZWZPzMxf/15COUiHbAHG7vlo+HVTo/wenIUAd5jeae4++pJmWoCb1q X-Received: by 10.99.123.79 with SMTP id k15mr7727833pgn.173.1518870465765; Sat, 17 Feb 2018 04:27:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518870465; cv=none; d=google.com; s=arc-20160816; b=o/ukGiJJozYJZZgihHfXfRTy9IzZjXEsyeYcHI+kXM8ZXQRB6enpOMFX0EcSJNVz3C xEjWbIxyL7PRFo4+aF1MIKXybGxXK2ysPVMgGnNNgGlG3tGC2T3QIN2JiYW/rssumdyE 1X3UbY+irby+yN4NwC5yX15Q9xRpOMi56KFlFpLP3MK/3MvzmWJ9O+IywCapixDrMteq EuUAwgMg0WS6eZwEpk9mJRUQ+jpCRkOeolJU5LHgssWXQ/a0K31Dqto+MipaSKfOhIZo hauSfzkQFjWjXL1unk8plZD+cRNXN1RsJTEn3VWjCNPrdMLvbQ5ADTDHecuINMhzSG3X 40Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=V/HT48/P1icYG/SzKADSokXlJi55N+PmN1Oz4SVbdMA=; b=PQGwSg4d0rL2rswRCOUpP0wKDMhdZdZcZwVRyak5iLMgH25J09kzteZGb2SD3PLyYz J9OZZH/g9I54oefDK2IZMF8V5Yblmalga/FCn1/+L0CK6JJmupJQ9zeqHcfNcLrfXW+4 73zw7iCAZ6BESf9jBA0dArM7044zOfzvJPqso3bcKIvVrleS6JZ3WMGnxU1cZGWRC33R AQhxleyXtJK6YyRR4b/GxZyHHRgZOmsoLAHwv8SjndXu4UY0t5ixpqujv2515sLl7Dq0 8k/c+g0pdGKxvZ7Lpj8V5FVD71dzSi/mIUj/tYRMU68qtS+gX+yXVuoqqWEcY0OVll9b gHfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8-v6si5631441plo.762.2018.02.17.04.27.31; Sat, 17 Feb 2018 04:27:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751101AbeBQM04 (ORCPT + 99 others); Sat, 17 Feb 2018 07:26:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:45656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750984AbeBQM0y (ORCPT ); Sat, 17 Feb 2018 07:26:54 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (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 04D5E217A5; Sat, 17 Feb 2018 12:26:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04D5E217A5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sat, 17 Feb 2018 12:26:49 +0000 From: Jonathan Cameron To: Dan Carpenter Cc: Himanshu Jha , devel@driverdev.osuosl.org, lars@metafoo.de, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, gregkh@linuxfoundation.org, 21cnbao@gmail.com, linux-kernel@vger.kernel.org, pmeerw@pmeerw.net, knaack.h@gmx.de Subject: Re: [PATCH 4/4] staging: iio: accel: Move adis16201 driver out of staging Message-ID: <20180217122649.1b476787@archlinux> In-Reply-To: <20180212144542.qievoq76rvjigwm4@mwanda> References: <1518436499-8584-1-git-send-email-himanshujha199640@gmail.com> <1518436499-8584-5-git-send-email-himanshujha199640@gmail.com> <20180212131826.ebazvmp6iv7i5fav@mwanda> <20180212144157.GC12142@himanshu-Vostro-3559> <20180212144542.qievoq76rvjigwm4@mwanda> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Feb 2018 17:45:42 +0300 Dan Carpenter wrote: > On Mon, Feb 12, 2018 at 08:11:57PM +0530, Himanshu Jha wrote: > > On Mon, Feb 12, 2018 at 04:18:26PM +0300, Dan Carpenter wrote: > > > I think -M is prefered for these types of diffs? Not sure. > > > > I wrote about that in the cover letter if you missed. :) > > > > Yeah. I seldom read cover letters. For anyone else (like me) who also doesn't often read them... This was a specific request from me to not use move detection. The reason is that it presents an opportunity for staging graduation patches for people to have the whole code in front of them allowing them to do a full review as if it were a new driver. I personally find this very helpful in this one case. For any other code move I'm as in favour of short emails as the next person ;) Jonathan > > > > > + ret = adis_init(st, indio_dev, spi, &adis16201_data); > > > > + if (ret) > > > > + return ret; > > > > + > > > > + ret = adis_setup_buffer_and_trigger(st, indio_dev, NULL); > > > > + if (ret) > > > > + return ret; > > > > > > We should clean up the IRQ which we enabled in adis_init() instead of > > > returning directly. > > > > I'm not sure about how to do that. > > > > I believe in you that you can figure it out. :) > > regards, > dan carpenter > >