]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: amiga: Simplify amifb_pan_display()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 11 Jul 2022 15:35:48 +0000 (17:35 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 18 Jul 2022 05:54:17 +0000 (07:54 +0200)
commit2fc79e59dae0c21dfa34c0b578f99d4d3f730f0d
tree096e13bedd70ba2e9508172282b083bcfd792b4e
parent4d12eb50455169445883967409f9de42c3d6d556
video: fbdev: amiga: Simplify amifb_pan_display()

The fb_pan_display() function in the core already takes care of
validating most 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>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/amifb.c