]> git.baikalelectronics.ru Git - uboot.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)
commite6d984e6989eb6e84b165e01ddc3aee6ab4b4d97
tree2cf1670fb469dea6cb26eedf32c2df5ed43b3985
parent263ccc95879ccfafba9a2cc266c3ae1ec44cb0f9
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