[PATCH RFC 1/7] net: phy: move phy MMD accessors to phy-core.c

2017-03-19 Thread Russell King
Move the phy_(read|write)__mmd() helpers out of line, they will become our main MMD accessor functions, and so will be a little more complex. This complexity doesn't belong in an inline function. Also move the _indirect variants as well to keep like functionality together. Signed-off-by: Russell

[PATCH RFC 1/7] net: phy: move phy MMD accessors to phy-core.c

2017-01-13 Thread Russell King
Move the phy_(read|write)__mmd() helpers out of line, they will become our main MMD accessor functions, and so will be a little more complex. This complexity doesn't belong in an inline function. Also move the _indirect variants as well to keep like functionality together. Signed-off-by: Russell