is_nvdimm
if (is_nvdimm(dev)) {
if (is_nvdimm(dev))
WARN_ON(!is_nvdimm(dev));
bool is_nvdimm(const struct device *dev);