Re: [PATCH v2 1/2] staging: sm750fb: Remove unused return value in display_control_adjust_sm750le()

From: Dorcas Anono Litunya
Date: Wed Nov 01 2023 - 11:37:00 EST



On 21/10/2023 13:01, Greg Kroah-Hartman wrote:
On Thu, Oct 19, 2023 at 01:13:36PM +0300, Dorcas AnonoLitunya wrote:
Modifies the return type of display_control_adjust_sm750le()
to void from unsigned long as the return value is being ignored in
all subsequent function calls.

This improves code readability and maintainability.

Suggested-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Dorcas AnonoLitunya <anonolitunya@xxxxxxxxx>
---
drivers/staging/sm750fb/ddk750_mode.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
This patch doesn't apply against my latest branch. Please rebase it and
resend.

thanks,

greg k-h


Hi Greg,

Sorry for the delay. Was occupied on the project starter tasks. I have rebased the patch and resent it. Thanks!


Dorcas