diff options
author | SurajSonawane2415 <surajsonawane0215@gmail.com> | 2024-10-06 09:15:14 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-10-15 10:07:32 +0200 |
commit | 57e755d333d1465c1cbf31d28245d429e1015beb (patch) | |
tree | 39f96ef63bfc28208b2b870080025fb06fc2c34d /drivers/video/fbdev | |
parent | fbdev: sstfb: Make CONFIG_FB_DEVICE optional (diff) | |
download | linux-57e755d333d1465c1cbf31d28245d429e1015beb.tar.xz linux-57e755d333d1465c1cbf31d28245d429e1015beb.zip |
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>
Diffstat (limited to 'drivers/video/fbdev')
-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) { |