Loading drivers/leds/leds-qpnp-wled.c +6 −5 Original line number Diff line number Diff line Loading @@ -2076,6 +2076,7 @@ static int qpnp_wled_probe(struct platform_device *pdev) wled = devm_kzalloc(&pdev->dev, sizeof(*wled), GFP_KERNEL); if (!wled) return -ENOMEM; wled->regmap = dev_get_regmap(pdev->dev.parent, NULL); if (!wled->regmap) { dev_err(&pdev->dev, "Couldn't get parent's regmap\n"); Loading Loading
drivers/leds/leds-qpnp-wled.c +6 −5 Original line number Diff line number Diff line Loading @@ -2076,6 +2076,7 @@ static int qpnp_wled_probe(struct platform_device *pdev) wled = devm_kzalloc(&pdev->dev, sizeof(*wled), GFP_KERNEL); if (!wled) return -ENOMEM; wled->regmap = dev_get_regmap(pdev->dev.parent, NULL); if (!wled->regmap) { dev_err(&pdev->dev, "Couldn't get parent's regmap\n"); Loading