diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2020-11-12 09:27:37 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-13 16:31:52 -0800 |
commit | bb3222f71b57caa2ba80db2dce4677f84ba4bd37 (patch) | |
tree | c2acd5dc2cc44c4c035ec2b9bd395c8cb5a18046 /security | |
parent | ca1ab89cd2d654661f559bd83ad9fc7323cb6c86 (diff) |
net: stmmac: platform: use optional clk/reset get APIs
Use the devm_reset_control_get_optional() and devm_clk_get_optional()
rather than open coding them.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20201112092606.5173aa6f@xhacker.debian
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions