diff mbox series

video: fix inconsistent indentation warning

Message ID 20241006071514.5577-1-surajsonawane0215@gmail.com
State New
Headers show
Series video: fix inconsistent indentation warning | expand

Commit Message

Suraj Sonawane Oct. 6, 2024, 7:15 a.m. UTC
Fix the indentation to ensure consistent code style and improve
readability, and to fix this warning:
drivers/video/fbdev/nvidia/nv_hw.c:1512 NVLoadStateExt() warn:
inconsistent indenting

Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
---
 drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Helge Deller Oct. 14, 2024, 8:32 p.m. UTC | #1
On 10/6/24 09:15, SurajSonawane2415 wrote:
> Fix the indentation to ensure consistent code style and improve
> readability, and to fix this warning:
> drivers/video/fbdev/nvidia/nv_hw.c:1512 NVLoadStateExt() warn:
> inconsistent indenting
>
> Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
> ---
>   drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

applied.

Thanks!
Helge
Suraj Sonawane Oct. 16, 2024, 4:04 a.m. UTC | #2
On 15/10/24 02:02, Helge Deller wrote:
> On 10/6/24 09:15, SurajSonawane2415 wrote:
>> Fix the indentation to ensure consistent code style and improve
>> readability, and to fix this warning:
>> drivers/video/fbdev/nvidia/nv_hw.c:1512 NVLoadStateExt() warn:
>> inconsistent indenting
>>
>> Signed-off-by: SurajSonawane2415 <surajsonawane0215@gmail.com>
>> ---
>>   drivers/video/fbdev/nvidia/nv_hw.c | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> applied.
> 
> Thanks!
> Helge
Thank you for applying the patch!

Best regards,
Suraj Sonawane
diff mbox series

Patch

diff --git a/drivers/video/fbdev/nvidia/nv_hw.c b/drivers/video/fbdev/nvidia/nv_hw.c
index 9b0a324bb..75afaa07e 100644
--- a/drivers/video/fbdev/nvidia/nv_hw.c
+++ b/drivers/video/fbdev/nvidia/nv_hw.c
@@ -1509,10 +1509,10 @@  void NVLoadStateExt(struct nvidia_par *par, RIVA_HW_STATE * state)
 	NV_WR32(par->PFIFO, 0x0495 * 4, 0x00000001);
 	NV_WR32(par->PFIFO, 0x0140 * 4, 0x00000001);
 
-    if (!state) {
-	    par->CurrentState = NULL;
-	    return;
-    }
+	if (!state) {
+		par->CurrentState = NULL;
+		return;
+	}
 
 	if (par->Architecture >= NV_ARCH_10) {
 		if (par->twoHeads) {