device_is_not_partition
if (dev->parent && device_is_not_partition(dev)) {
if (dev->parent && device_is_not_partition(dev))