/* phys_device is a bad name for this. What I really want is a way to differentiate between memory ranges that are part of physical devices that constitute a complete removable unit or fru. i.e. do these ranges belong to the same physical device, s.t. if I offline all of these sections I can then remove the physical device?  */
static ssize_t show_phys_device(struct sys_device *dev, struct sysdev_attribute *attr, char *buf)
/* phys_device is a bad name for this. What I really want is a way to differentiate between memory ranges that are part of physical devices that constitute a complete removable unit or fru. i.e. do these ranges belong to the same physical device, s.t. if I offline all of these sections I can then remove the physical device?  */
static ssize_t show_phys_device(struct sys_device *dev, struct sysdev_attribute *attr, char *buf)
{
	struct memory_block *mem =
		container_of(dev, struct memory_block, sysdev);
	return sprintf(buf, "%d\n", mem->phys_device);
}