-
由 Greg Kroah-Hartman 提交于
We need to initialize the kobject for a sysdev_class as it could have been recycled (stupid static kobjects...) We also do the same thing in case sysdev devices are being re-registered. Thanks to Balaji Rao <balajirrao@gmail.com> for pointing out the problem. Signed-off-by: NBalaji Rao <balajirrao@gmail.com> Tested-by: NMikael Pettersson <mikpe@it.uu.se> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
ef79df26