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)
commit2194f9576097543e26fa690abaa7166754fccabe
tree096e13bedd70ba2e9508172282b083bcfd792b4e
parentff6992735ade75aae3e35d16b17da1008d753d28
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