Thread (10 messages) 10 messages, 4 authors, 2025-10-27

Re: [PATCH RESEND v3 2/3] Input: aw86927 - add driver for Awinic AW86927

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2025-09-28 04:10:27
Also in: linux-arm-msm, linux-devicetree, lkml

On Thu, Sep 25, 2025 at 02:15:42PM +0200, Konrad Dybcio wrote:
On 9/25/25 12:07 PM, Griffin Kroah-Hartman wrote:
quoted
+static int aw86927_wait_enter_standby(struct aw86927_data *haptics)
+{
+	unsigned int reg_val;
+	int err;
"ret" is more common (for "return value")
I requested this, "error" or "err" is my preference for temporaries that
hold either a negative error code or 0.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help