> From: U-Boot <[email protected]> On Behalf Of Sergei Antonov
> Sent: Saturday, February 04, 2023 3:09 AM
> To: [email protected]; [email protected]; [email protected]
> Cc: Sergei Antonov <[email protected]>
> Subject: [PATCH v3 2/3] net: ftmac100: simplify priv->iobase casting
>
> Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' in struct 
> ftmac100_data. It allows to remove casting in a number of places.
>
> Since priv->iobase is phys_addr_t, use phys_to_virt() to make a pointer from 
> it.
>
> Signed-off-by: Sergei Antonov <[email protected]>

Reviewed-by: Rick Chen <[email protected]>

Reply via email to