summaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorAndrew Halaney <ahalaney@redhat.com>2023-07-10 23:06:37 +0300
committerDavid S. Miller <davem@davemloft.net>2023-07-12 12:19:05 +0300
commita8aa20a64ef2bdbad7421acf9c7217c2c0e4ac75 (patch)
treea8a093fa7f2f7695994968ee39999f8fb36528e5 /include/linux/init_task.h
parent47b7acfb016b9fdc950cb501c351faf5723b1868 (diff)
downloadlinux-a8aa20a64ef2bdbad7421acf9c7217c2c0e4ac75.tar.xz
net: stmmac: dwmac-qcom-ethqos: Use of_get_phy_mode() over device_get_phy_mode()
Since this driver only uses devicetree, let's move over to of_get_phy_mode(). That API has an explicit error return and produces a phy_interface_t directly instead of an int when representing the phy mode. Signed-off-by: Andrew Halaney <ahalaney@redhat.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions