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

Commit 78901eb2 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: core: assign controller name to own device"

parents d73cfc68 4920b41f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1474,6 +1474,7 @@ int of_register_mhi_controller(struct mhi_controller *mhi_cntrl)
	}

	mhi_dev->dev_type = MHI_CONTROLLER_TYPE;
	mhi_dev->chan_name = mhi_cntrl->name;
	mhi_dev->mhi_cntrl = mhi_cntrl;
	dev_set_name(&mhi_dev->dev, "%04x_%02u.%02u.%02u", mhi_dev->dev_id,
		     mhi_dev->domain, mhi_dev->bus, mhi_dev->slot);