staging: adis16255: fix sysfs leak
Original code does not call sysfs_remove_group() on error. This can lead to NULL dereference. Signed-off-by: NKulikov Vasiliy <segooon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录