HID: picolcd: testing the wrong variable
"ref_cnt" is a point to the reference count and it's non-null. We really want to test the reference count itself. Signed-off-by: NDan Carpenter <error27@gmail.com> Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Showing
想要评论请 注册 或 登录