Patch "clk: imx93: drop of_match_ptr" has been added to the 5.19-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

    clk: imx93: drop of_match_ptr

to the 5.19-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:
     clk-imx93-drop-of_match_ptr.patch
and it can be found in the queue-5.19 subdirectory.

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



commit feab25fe1722b94aff9d52ae1677d37db79c4253
Author: Peng Fan <peng.fan@xxxxxxx>
Date:   Tue Aug 30 11:31:31 2022 +0800

    clk: imx93: drop of_match_ptr
    
    [ Upstream commit daaa2fbe678efdaced53d1c635f4d326751addf8 ]
    
    There is build warning when CONFIG_OF is not selected.
    >> drivers/clk/imx/clk-imx93.c:324:34: warning: 'imx93_clk_of_match'
    >> defined but not used [-Wunused-const-variable=]
         324 | static const struct of_device_id imx93_clk_of_match[] = {
             |                                  ^~~~~~~~~~~~~~~~~~
    
    The driver only support DT table, no sense to use of_match_ptr.
    
    Fixes: 24defbe194b6 ("clk: imx: add i.MX93 clk")
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
    Link: https://lore.kernel.org/r/20220830033137.4149542-3-peng.fan@xxxxxxxxxxx
    Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxx>
    Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c
index f5c9fa40491c..dcc41d178238 100644
--- a/drivers/clk/imx/clk-imx93.c
+++ b/drivers/clk/imx/clk-imx93.c
@@ -332,7 +332,7 @@ static struct platform_driver imx93_clk_driver = {
 	.driver = {
 		.name = "imx93-ccm",
 		.suppress_bind_attrs = true,
-		.of_match_table = of_match_ptr(imx93_clk_of_match),
+		.of_match_table = imx93_clk_of_match,
 	},
 };
 module_platform_driver(imx93_clk_driver);



[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