commit | cb1b0f90acfedd2164e524b327d9e60b097646cc | [log] [tgz] |
---|---|---|
author | Jon Mason <jon.mason@broadcom.com> | Tue Feb 28 13:51:00 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 06 17:17:47 2017 -0800 |
tree | 1c8cd0bc65444c329cc98533e3d9cabf8fb02bba | |
parent | 02083c3aeda7b5fab49920b7fd9277b2c9ec50a9 [diff] |
net: ethernet: bgmac: unify code of the same family BCM471X and BCM535X are of the same family (from what I can derive from internal documents). Group them into the case statement together, which results in more code reuse. Also, use existing helper variables to make the code a little more readable too. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>