[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180212144542.qievoq76rvjigwm4@mwanda>
Date: Mon, 12 Feb 2018 17:45:42 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Himanshu Jha <himanshujha199640@...il.com>
Cc: devel@...verdev.osuosl.org, lars@...afoo.de,
Michael.Hennerich@...log.com, linux-iio@...r.kernel.org,
gregkh@...uxfoundation.org, 21cnbao@...il.com,
linux-kernel@...r.kernel.org, pmeerw@...erw.net, knaack.h@....de,
jic23@...nel.org
Subject: Re: [PATCH 4/4] staging: iio: accel: Move adis16201 driver out of
staging
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.
> > > + 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
Powered by blists - more mailing lists