diff options
author | SurajSonawane2415 <surajsonawane0215@gmail.com> | 2024-10-06 12:45:14 +0530 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-10-15 10:07:32 +0200 |
commit | 57e755d333d1465c1cbf31d28245d429e1015beb (patch) | |
tree | 39f96ef63bfc28208b2b870080025fb06fc2c34d | |
parent | 447794e44744aff3c0f11942b83b878b8bb6f72b (diff) |
fbdev: nvidiafb: fix inconsistent indentation warning
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>
-rw-r--r-- | drivers/video/fbdev/nvidia/nv_hw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/fbdev/nvidia/nv_hw.c b/drivers/video/fbdev/nvidia/nv_hw.c index 9b0a324bb1b4..75afaa07e7eb 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) { |