Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6954cf9b authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/sysfs: Rename iommu_release_device()



Remove the iommu_ prefix from the function and a few other
static data structures so that the iommu_release_device name
can be re-used in iommu core code.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent f884f6ee
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -22,25 +22,25 @@ static struct attribute *devices_attr[] = {
	NULL,
	NULL,
};
};


static const struct attribute_group iommu_devices_attr_group = {
static const struct attribute_group devices_attr_group = {
	.name = "devices",
	.name = "devices",
	.attrs = devices_attr,
	.attrs = devices_attr,
};
};


static const struct attribute_group *iommu_dev_groups[] = {
static const struct attribute_group *dev_groups[] = {
	&iommu_devices_attr_group,
	&devices_attr_group,
	NULL,
	NULL,
};
};


static void iommu_release_device(struct device *dev)
static void release_device(struct device *dev)
{
{
	kfree(dev);
	kfree(dev);
}
}


static struct class iommu_class = {
static struct class iommu_class = {
	.name = "iommu",
	.name = "iommu",
	.dev_release = iommu_release_device,
	.dev_release = release_device,
	.dev_groups = iommu_dev_groups,
	.dev_groups = dev_groups,
};
};


static int __init iommu_dev_init(void)
static int __init iommu_dev_init(void)