Skip to content
Commit 73b2e2e3 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Jakub Kicinski
Browse files

net: mdio: mux-bcm-iproc: Use alignment helpers and SZ_4K



Instead of open coding, use IS_ALIGNED() and ALIGN_DOWN() when dealing
with alignment. Replace also literals with SZ_4K.

Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Acked-by: default avatarRay Jui <ray.jui@broadcom.com>
Link: https://lore.kernel.org/r/20231229145232.6163-1-ilpo.jarvinen@linux.intel.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2ab1efad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment