/* The new UMC device will have a bus ID of the parent with '-n' appended.  */
struct umc_dev* umc_device_create(struct device *parent, int n)
/* The new UMC device will have a bus ID of the parent with '-n' appended.  */
struct umc_dev* umc_device_create(struct device *parent, int n)
{
	struct umc_dev *umc;
	umc = kzalloc(sizeof(struct umc_dev), GFP_KERNEL);
	if (umc) {
		dev_set_name(&umc->dev, "%s-%d", dev_name(parent), n);
		umc->dev.parent  = parent;
		umc->dev.bus     = &umc_bus_type;
		umc->dev.release = umc_device_release;
		umc->dev.dma_mask = parent->dma_mask;
	}
	return umc;
}