projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02dca8c
)
phy: core: fix code style in devm_of_phy_provider_unregister
author
Vinod Koul
<vkoul@kernel.org>
Mon, 29 Jun 2020 14:50:07 +0000
(20:20 +0530)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 8 Jul 2020 11:10:13 +0000
(16:40 +0530)
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>
drivers/phy/phy-core.c
patch
|
blob
|
history
diff --git
a/drivers/phy/phy-core.c
b/drivers/phy/phy-core.c
index
a27b8d5
..
b54522f
100644
(file)
--- 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,