We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1078b4 commit bb47944Copy full SHA for bb47944
drivers/nvmem/imx-ocotp.c
@@ -439,7 +439,6 @@ MODULE_DEVICE_TABLE(of, imx_ocotp_dt_ids);
439
440
static int imx_ocotp_probe(struct platform_device *pdev)
441
{
442
- const struct of_device_id *of_id;
443
struct device *dev = &pdev->dev;
444
struct resource *res;
445
struct ocotp_priv *priv;
@@ -460,7 +459,6 @@ static int imx_ocotp_probe(struct platform_device *pdev)
460
459
if (IS_ERR(priv->clk))
461
return PTR_ERR(priv->clk);
462
463
- of_id = of_match_device(imx_ocotp_dt_ids, dev);
464
priv->params = of_device_get_match_data(&pdev->dev);
465
imx_ocotp_nvmem_config.size = 4 * priv->params->nregs;
466
imx_ocotp_nvmem_config.dev = dev;
0 commit comments