Loading drivers/hwtracing/coresight/coresight-csr.c +2 −2 Original line number Diff line number Diff line Loading @@ -191,8 +191,6 @@ static int csr_probe(struct platform_device *pdev) drvdata = devm_kzalloc(dev, sizeof(*drvdata), GFP_KERNEL); if (!drvdata) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ csrdrvdata = drvdata; drvdata->dev = &pdev->dev; platform_set_drvdata(pdev, drvdata); Loading Loading @@ -220,6 +218,8 @@ static int csr_probe(struct platform_device *pdev) if (IS_ERR(drvdata->csdev)) return PTR_ERR(drvdata->csdev); /* Store the driver data pointer for use in exported functions */ csrdrvdata = drvdata; dev_info(dev, "CSR initialized\n"); return 0; } Loading drivers/hwtracing/coresight/coresight-stm.c +2 −2 Original line number Diff line number Diff line Loading @@ -774,8 +774,6 @@ static int stm_probe(struct amba_device *adev, const struct amba_id *id) drvdata = devm_kzalloc(dev, sizeof(*drvdata), GFP_KERNEL); if (!drvdata) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ stmdrvdata = drvdata; drvdata->dev = &adev->dev; dev_set_drvdata(dev, drvdata); Loading Loading @@ -846,6 +844,8 @@ static int stm_probe(struct amba_device *adev, const struct amba_id *id) if (boot_enable) coresight_enable(drvdata->csdev); /* Store the driver data pointer for use in exported functions */ stmdrvdata = drvdata; return 0; err: coresight_unregister(drvdata->csdev); Loading drivers/soc/qcom/jtag-fuse.c +2 −2 Original line number Diff line number Diff line Loading @@ -152,8 +152,6 @@ static int jtag_fuse_probe(struct platform_device *pdev) drvdata = devm_kzalloc(dev, sizeof(*drvdata), GFP_KERNEL); if (!drvdata) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ fusedrvdata = drvdata; drvdata->dev = &pdev->dev; platform_set_drvdata(pdev, drvdata); Loading @@ -174,6 +172,8 @@ static int jtag_fuse_probe(struct platform_device *pdev) if (!drvdata->base) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ fusedrvdata = drvdata; dev_info(dev, "JTag Fuse initialized\n"); return 0; } Loading Loading
drivers/hwtracing/coresight/coresight-csr.c +2 −2 Original line number Diff line number Diff line Loading @@ -191,8 +191,6 @@ static int csr_probe(struct platform_device *pdev) drvdata = devm_kzalloc(dev, sizeof(*drvdata), GFP_KERNEL); if (!drvdata) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ csrdrvdata = drvdata; drvdata->dev = &pdev->dev; platform_set_drvdata(pdev, drvdata); Loading Loading @@ -220,6 +218,8 @@ static int csr_probe(struct platform_device *pdev) if (IS_ERR(drvdata->csdev)) return PTR_ERR(drvdata->csdev); /* Store the driver data pointer for use in exported functions */ csrdrvdata = drvdata; dev_info(dev, "CSR initialized\n"); return 0; } Loading
drivers/hwtracing/coresight/coresight-stm.c +2 −2 Original line number Diff line number Diff line Loading @@ -774,8 +774,6 @@ static int stm_probe(struct amba_device *adev, const struct amba_id *id) drvdata = devm_kzalloc(dev, sizeof(*drvdata), GFP_KERNEL); if (!drvdata) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ stmdrvdata = drvdata; drvdata->dev = &adev->dev; dev_set_drvdata(dev, drvdata); Loading Loading @@ -846,6 +844,8 @@ static int stm_probe(struct amba_device *adev, const struct amba_id *id) if (boot_enable) coresight_enable(drvdata->csdev); /* Store the driver data pointer for use in exported functions */ stmdrvdata = drvdata; return 0; err: coresight_unregister(drvdata->csdev); Loading
drivers/soc/qcom/jtag-fuse.c +2 −2 Original line number Diff line number Diff line Loading @@ -152,8 +152,6 @@ static int jtag_fuse_probe(struct platform_device *pdev) drvdata = devm_kzalloc(dev, sizeof(*drvdata), GFP_KERNEL); if (!drvdata) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ fusedrvdata = drvdata; drvdata->dev = &pdev->dev; platform_set_drvdata(pdev, drvdata); Loading @@ -174,6 +172,8 @@ static int jtag_fuse_probe(struct platform_device *pdev) if (!drvdata->base) return -ENOMEM; /* Store the driver data pointer for use in exported functions */ fusedrvdata = drvdata; dev_info(dev, "JTag Fuse initialized\n"); return 0; } Loading