Commit 04ed37a2 authored by Ben Widawsky's avatar Ben Widawsky Committed by Dan Williams
Browse files

cxl/hdm: Use local hdm variable

parent fe80f1ad
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -251,8 +251,7 @@ int devm_cxl_enumerate_decoders(struct cxl_hdm *cxlhdm)
			return PTR_ERR(cxld);
		}

		rc = init_hdm_decoder(port, cxld, target_map,
				      cxlhdm->regs.hdm_decoder, i);
		rc = init_hdm_decoder(port, cxld, target_map, hdm, i);
		if (rc) {
			put_device(&cxld->dev);
			failed++;