[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALUj-gsY5dYYMejnYNH1YbuBysEOp=PpqxV-jCZ+hbAgoi2qiQ@mail.gmail.com>
Date: Thu, 6 Feb 2020 19:20:55 +0530
From: rishi gupta <gupt21@...il.com>
To: Mark Brown <broonie@...nel.org>
Cc: support.opensource@...semi.com,
Adam.Thomson.Opensource@...semi.com,
Axel Lin <axel.lin@...ics.com>, lgirdwood@...il.com,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: da9063: remove redundant return statement
Done, thanks for guidance.
On Thu, Feb 6, 2020 at 5:02 PM Mark Brown <broonie@...nel.org> wrote:
>
> On Thu, Feb 06, 2020 at 10:06:01AM +0530, Rishi Gupta wrote:
> > The devm_request_threaded_irq() already returns 0 on success
> > and negative error code on failure. So return from this itself
> > can be used while preserving error log in case of failure.
> >
> > This commit also fixes checkpatch.pl errors & warnings:
> > - WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
> > - WARNING: line over 80 characters
> > - ERROR: space prohibited before that ',' (ctx:WxW)
> > - ERROR: code indent should use tabs where possible
> > - WARNING: Block comments use * on subsequent lines
>
> This should be split into separate patches, each doing one thing
> as covered in submitting-patchs.rst.
Powered by blists - more mailing lists