Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[sfrench/cifs-2.6.git] / drivers / clk / imx / clk-imx8mp.c
index 48e212477f52a34d860f069d3ca697851c56d678..2f4e1d674e1c12d96fa35277249e6d92df9958e8 100644 (file)
@@ -425,7 +425,7 @@ static struct clk **uart_clks[ARRAY_SIZE(uart_clk_ids) + 1];
 static int imx8mp_clocks_probe(struct platform_device *pdev)
 {
        struct device *dev = &pdev->dev;
-       struct device_node *np = dev->of_node;
+       struct device_node *np;
        void __iomem *anatop_base, *ccm_base;
        int i;
 
@@ -763,7 +763,7 @@ static struct platform_driver imx8mp_clk_driver = {
                 * reloading the driver will crash or break devices.
                 */
                .suppress_bind_attrs = true,
-               .of_match_table = of_match_ptr(imx8mp_clk_of_match),
+               .of_match_table = imx8mp_clk_of_match,
        },
 };
 module_platform_driver(imx8mp_clk_driver);