On Wed, Aug 28, 2024 at 04:01:52PM +0800, Chen-Yu Tsai wrote:
On Tue, Aug 27, 2024 at 10:42 PM Andy Shevchenko
quoted
On Tue, Aug 27, 2024 at 05:55:43PM +0800, Chen-Yu Tsai wrote:
quoted
quoted
+ * Return: pointer to a &struct regulator corresponding to the regulator
+ * producer, or ERR_PTR() encoded negative error number.
quoted
(I'm not sure of definite vs. indefinite article, though. Perhaps you need to
consult with native speaker.)
I think "a" makes more sense, because in the case of _regulator_get(),
the |struct regulator| consumer instances are allocated separately on
the fly for each call.
Your text is perfectly fine and completely intelligible.