]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/vsc9953: Cleanup patch
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>
Fri, 24 Jul 2015 13:52:45 +0000 (16:52 +0300)
committerYork Sun <yorksun@freescale.com>
Mon, 21 Sep 2015 15:29:46 +0000 (08:29 -0700)
commit3cc8cfffb21b618a51a51e746aac709a12540b79
treedb49ada30fd316f3925054878297e1a9cc8be6e6
parentc4390486a6f198f82a5944eb1e123d9673331cf5
drivers/net/vsc9953: Cleanup patch

This patch groups some macros defined for registers and
replaces some magic numbers from vsc9953 with macros. Also,
"port" and "port_nr" words are replaced with "port_no",
puts each variable declaration on a line and removes
unnecessary tabs.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/vsc9953.c
include/vsc9953.h