Merge "wil6210: send uevent when creating sysfs files"

This commit is contained in:
Linux Build Service Account 2017-07-25 00:35:56 -07:00 committed by Gerrit - the friendly Code Review server
commit f92449559c

View file

@ -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);
}