Skip to content
Commit cf13be5a authored by Andrew F. Davis's avatar Andrew F. Davis Committed by David S. Miller
Browse files

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: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 68336293
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment