mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
net: phy: at803x: Use devm_regulator_get_enable_optional()
[ Upstream commit988e8d90b3] Use devm_regulator_get_enable_optional() instead of hand writing it. It saves some line of code. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Stable-dep-of:e58f30246c("net: phy: at803x: fix the wol setting functions") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
0d52759710
commit
7dcc894e15
1 changed files with 7 additions and 37 deletions
Loading…
Add table
Add a link
Reference in a new issue