commit | 6bdb610142fc0433077e24bb36f90e7c52bcaded | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Fri Mar 27 15:26:09 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 03 13:43:44 2015 +0200 |
tree | 9068a06f94f7096a5328219646b398a2b029e064 | |
parent | 61c507cf652da1bc8436bdb909343f33175fd566 [diff] |
staging: unisys: unregister chardev on error after registering the major numbers if the cdev_add fails then we were not releasing the major numbers. now we are doing that. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>