[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aXMzXH4vvh3HK8wN@smile.fi.intel.com>
Date: Fri, 23 Jan 2026 10:37:48 +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.
...
> - pm_runtime_enable(i2c->dev);
> + pm_runtime_enable(dev);
Ah, please also move this to devm_pm_...* in a separate patch or combine it
with mutex and explain that this fixes the cleanup ordering and simplifies
error handling.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists