num_nvdimm_formats
return sysfs_emit(buf, "%d\n", num_nvdimm_formats(nvdimm));
if (a == &dev_attr_format1.attr && num_nvdimm_formats(nvdimm) <= 1)