[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aXNXx4elBVRpWCWf@smile.fi.intel.com>
Date: Fri, 23 Jan 2026 13:13:11 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Artem Shimko <a.shimko.dev@...il.com>
Cc: andi.shyti@...nel.org, p.zabel@...gutronix.de,
mika.westerberg@...ux.intel.com, jsd@...ihalf.com,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 0/2] i2c: designware-platdrv: simplify reset control
and error handling
On Fri, Jan 23, 2026 at 01:05:34PM +0300, Artem Shimko wrote:
> Hello maintainers and reviewers,
>
> This series refactors the DesignWare platform I2C driver to simplify
> reset control management and improve error handling:
>
> Patch 1 replaces the manual reset control acquisition and deassertion
> with devm_reset_control_get_optional_exclusive_deasserted(), which
> combines both operations in a single call and leverages automatic
> resource management.
>
> Patch 2 follows up by refactoring the probe error handling to eliminate
> goto statements in favor of direct returns with dev_err_probe(), resulting
> in cleaner and more linear control flow.
>
> Both patches maintain functional equivalence while improving code
> readability and maintainability.
You send a series as _three_ detached emails. Forgot using
git format-patch --thread ...
?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists