RAW driver: Remove call to kobject_put().
If cdev_add() fails, there is no justification for subsequently calling kobject_put(). Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录