]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: atari: Simplify atafb_pan_display()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Jul 2022 15:50:25 +0000 (17:50 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 18 Jul 2022 05:56:17 +0000 (07:56 +0200)
commit77f2572aca6c652331f5e09ab0d6d393de310127
treee43c87b320f929ae5795160ef594027462d5c460
parenta818c94d21d4c25a0a1dd35a268d75eb177c3271
video: fbdev: atari: Simplify atafb_pan_display()

The fb_pan_display() function in the core already takes care of
validating the panning parameters before calling the driver's
.fb_pan_display() callback, and of updating the panning state
afterwards, so there is no need to repeat that in the driver.

Remove the duplicate code.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/atafb.c