CXL_DEVTYPE_CLASSMEM
if (cxlds->type == CXL_DEVTYPE_CLASSMEM)
mds = devm_cxl_dev_state_create(dev, CXL_DEVTYPE_CLASSMEM, serial,
if (cxlds && cxlds->type == CXL_DEVTYPE_CLASSMEM)
if (cxlds->type != CXL_DEVTYPE_CLASSMEM)