RAW driver: Remove call to kobject_put().
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 4 May 2011 09:19:34 +0000 (05:19 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 7 May 2011 00:52:32 +0000 (17:52 -0700)
commit9333744dc7dcd85531cff13cabf1d5d6baf18e7d
tree4b7315617accc91e9d0524eb907ca624a36aa9e9
parentb50fa7c8077c625919b1e0a75fc37b825f024518
RAW driver: Remove call to kobject_put().

If cdev_add() fails, there is no justification for subsequently
calling kobject_put().

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/raw.c