diff options
author | Vinod Koul <vkoul@kernel.org> | 2020-06-29 20:20:07 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-07-08 16:40:13 +0530 |
commit | b555f35f2f87f8a99ba8e65d3f51ae4294748b58 (patch) | |
tree | eeb631bcd7a6b6cfe89009b71b7c69d5c531405d /drivers/phy | |
parent | 02dca8c981b552ad4caaa2e858800c78cc20f41c (diff) |
phy: core: fix code style in devm_of_phy_provider_unregister
Documentation/process/coding-style.rst says:
"functions: they have the opening brace at the beginning of the next
line"
devm_of_phy_provider_unregister() function has opening brace at same
line, so fix it up.
Link: https://lore.kernel.org/r/20200629145010.122675-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r-- | drivers/phy/phy-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c index a27b8d578d7f..b54522f06245 100644 --- a/drivers/phy/phy-core.c +++ b/drivers/phy/phy-core.c @@ -1122,7 +1122,8 @@ EXPORT_SYMBOL_GPL(of_phy_provider_unregister); * of_phy_provider_unregister to unregister the phy provider. */ void devm_of_phy_provider_unregister(struct device *dev, - struct phy_provider *phy_provider) { + struct phy_provider *phy_provider) +{ int r; r = devres_destroy(dev, devm_phy_provider_release, devm_phy_match, |