]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: mdio-uclass: use ARRAY_SIZE()
authorMarek Behún <marek.behun@nic.cz>
Wed, 6 Apr 2022 22:32:56 +0000 (00:32 +0200)
committerRamon Fried <ramon@neureality.ai>
Sun, 10 Apr 2022 05:44:12 +0000 (08:44 +0300)
commita7a96ef812976d9fa73376fa44686a1ee4af16ee
tree2cf1670fb469dea6cb26eedf32c2df5ed43b3985
parent6fb4482ea26e73e49ef7b77e74c81d54785d4619
net: mdio-uclass: use ARRAY_SIZE()

Use the ARRAY_SIZE() macro instead of hardcoding sizes of arrays in
macros.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
net/mdio-uclass.c