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

Commit b8d01b7f authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman
Browse files

mei: make device_type const



Make this const as it is only stored in the type field of a device
structure, which is const.
Done using Coccinelle.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e8d2ed7d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -845,7 +845,7 @@ static void mei_cl_bus_dev_release(struct device *dev)
	kfree(cldev);
}

static struct device_type mei_cl_device_type = {
static const struct device_type mei_cl_device_type = {
	.release	= mei_cl_bus_dev_release,
};