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

Commit f9244955 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wil6210: send uevent when creating sysfs files"

parents d4c5d4c9 f85109b5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -291,6 +291,8 @@ int wil6210_sysfs_init(struct wil6210_priv *wil)
		return err;
	}

	kobject_uevent(&dev->kobj, KOBJ_CHANGE);

	return 0;
}

@@ -299,4 +301,5 @@ void wil6210_sysfs_remove(struct wil6210_priv *wil)
	struct device *dev = wil_to_dev(wil);

	sysfs_remove_group(&dev->kobj, &wil6210_attribute_group);
	kobject_uevent(&dev->kobj, KOBJ_CHANGE);
}