commit | cf13be5afd30363e5e6e1232e004bae99ee3c623 | [log] [tgz] |
---|---|---|
author | Andrew F. Davis <afd@ti.com> | Sun Feb 07 11:47:19 2016 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 11 11:52:02 2016 -0500 |
tree | 55f6c4278ea207c5dd0e456c4f5c262a8775f7c1 | |
parent | 68336293462c92ba420528dd293d54ee879b6e15 [diff] |
net: phy: dp83848: Reorganize code for readability and safety Reorganize code by moving the desired interrupt mask definition out of function. Also rearrange the enable/disable interrupt function to prevent accidental over-writing of values in registers. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>