]> git.itanic.dy.fi Git - linux-stable/commit
fbdev: atyfb: Remove unused clock determination
authorNiklas Schnelle <schnelle@linux.ibm.com>
Tue, 16 May 2023 11:00:33 +0000 (13:00 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 20 May 2023 05:02:12 +0000 (07:02 +0200)
commit93f57c7a10890645d1d3b88eea1692b285bf3f38
treead588d022a6c5752a90259906cd0bf2d4ff19b02
parentf6cd4c96b2c201be1ca3c17daeec52bf20880d69
fbdev: atyfb: Remove unused clock determination

Just below the removed lines par->clk_wr_offset is hard coded to 3 so
there is no use in determining a different clock just to then ignore it
anyway. This also removes the only I/O port use remaining in the driver
allowing it to be built without CONFIG_HAS_IOPORT.

Link: https://lore.kernel.org/all/ZBx5aLo5h546BzBt@intel.com/
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/aty/atyfb_base.c