[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aXMxF45gX1qS-CeU@smile.fi.intel.com>
Date: Fri, 23 Jan 2026 10:28:07 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: abdurrahman@...thop.ai
Cc: Michal Simek <michal.simek@....com>, Andi Shyti <andi.shyti@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 5/5] i2c: xiic: minor cosmetic cleanup
On Fri, Jan 23, 2026 at 08:02:48AM +0000, Abdurrahman Hussain via B4 Relay wrote:
>
> Add a temporary dev variable and reuse it instead of referencing pdev->dev
> everywhere.
...
> + struct device *dev = &pdev->dev;
No, this part should go earlier because of other patches that use it.
devm_clk_get*()
device_get_match_data()
Without this you add an unneeded churn.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists