From: Darshan Rathod
Simplify conditional logic by moving the assignment of pll_lim.reg
to reg1 out of the if() statement. Also adjust spacing in an if()
statement for consistency with kernel style.
Signed-off-by: Darshan Rathod
---
drivers/gpu/drm/nouveau/dispnv04/hw.c | 6 --
1 file chan
From: Darshan Rathod
Move kzalloc assignment out of the if condition to follow
kernel coding style guidelines and improve readability.
Signed-off-by: Darshan Rathod
---
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/
From: Darshan Rathod
Replace assignments inside if statements with separate assignment and
conditional check. Assigning variables in conditionals can obscure the
code flow and reduce readability.
This change improves clarity and follows common kernel coding style
practice. There is no change to