Patch "phy: core: fix code style in devm_of_phy_provider_unregister" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    phy: core: fix code style in devm_of_phy_provider_unregister

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     phy-core-fix-code-style-in-devm_of_phy_provider_unre.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 6293542e4782bfeab6b432df827f84e3201e107e
Author: Vinod Koul <vkoul@xxxxxxxxxx>
Date:   Mon Jun 29 20:20:07 2020 +0530

    phy: core: fix code style in devm_of_phy_provider_unregister
    
    [ Upstream commit b555f35f2f87f8a99ba8e65d3f51ae4294748b58 ]
    
    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@xxxxxxxxxx
    Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
    Stable-dep-of: c0b82ab95b4f ("phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/phy/phy-core.c b/drivers/phy/phy-core.c
index c801fe727f09..ffe89ed15a36 100644
--- a/drivers/phy/phy-core.c
+++ b/drivers/phy/phy-core.c
@@ -1094,7 +1094,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,




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux