[PATCH V5 1/5] phy: freescale: fsl-samsung-hdmi: Replace register defines with macro

Frieder Schrempf frieder.schrempf at kontron.de
Wed Sep 4 02:21:59 PDT 2024


On 04.09.24 4:32 AM, Adam Ford wrote:
> There are 47 registers defined as PHY_REG_xx were xx goes from 00 to
> 47.  Simplify this by replacing them all with a macro which is passed
> the register number to return the proper register offset.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> Reviewed-by: Marco Felsch <m.felsch at pengutronix.de>

Reviewed-by: Frieder Schrempf <frieder.schrempf at kontron.de>
Tested-by: Frieder Schrempf <frieder.schrempf at kontron.de>



More information about the linux-phy mailing list