[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YZzV00rh/IX7fW5s@paasikivi.fi.intel.com>
Date: Tue, 23 Nov 2021 13:51:47 +0200
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Eugen.Hristev@...rochip.com
Cc: leonl@...pardimaging.com, linux-media@...r.kernel.org,
skomatineni@...dia.com, luca@...aceresoli.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] media: i2c: imx274: simplify probe function by
adding local variable dev
On Tue, Nov 23, 2021 at 11:35:33AM +0000, Eugen.Hristev@...rochip.com wrote:
> On 11/23/21 1:25 PM, Sakari Ailus wrote:
>
> > Hi Eugen,
> >
> > On Tue, Nov 23, 2021 at 01:15:20PM +0200, Eugen Hristev wrote:
> >> Simplify probe function by adding a local variable dev instead of using
> >> &client->dev all the time.
> >>
> >> Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
> >
> > It's not really wrong to do this, but is it useful?
> >
> > You can't even unwrap a single line, the lines are just made a little bit
> > shorter.
>
> Hi,
>
> I think there are a few (18 +, 21 -) ... but the idea was to make the
Indeed you're right.
> probe function a little bit more easy to read.
> Up to you if you want to take this patch.
I'll take it.
--
Sakari Ailus
Powered by blists - more mailing lists