fbdev: nvidiafb: fix inconsistent indentation warning
authorSurajSonawane2415 <surajsonawane0215@gmail.com>
Sun, 6 Oct 2024 07:15:14 +0000 (12:45 +0530)
committerHelge Deller <deller@gmx.de>
Tue, 15 Oct 2024 08:07:32 +0000 (10:07 +0200)
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>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/nvidia/nv_hw.c

index 9b0a324bb1b481573727476660a45a2a8eeb04a9..75afaa07e7eba5bb1d1e384882d7ec30d6147eba 100644 (file)
@@ -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) {