On Fri, Mar 21, 2025 at 03:58:52PM +0200, Ivaylo Ivanov wrote: > Instead of matching frequencies with a switch and case, introduce > a table-based lookup. This improves readability, reduces redundancy, > and makes it easier to extend support for additional frequencies in > the future. > > Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@xxxxxxxxx> > --- > drivers/phy/phy-snps-eusb2.c | 61 +++++++++++++++++++----------------- > 1 file changed, 32 insertions(+), 29 deletions(-) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx> -- With best wishes Dmitry