diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-03-27 09:56:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 11:43:44 (GMT) |
commit | 6bdb610142fc0433077e24bb36f90e7c52bcaded (patch) | |
tree | 9068a06f94f7096a5328219646b398a2b029e064 /drivers/staging/speakup | |
parent | 61c507cf652da1bc8436bdb909343f33175fd566 (diff) | |
download | linux-6bdb610142fc0433077e24bb36f90e7c52bcaded.tar.xz |
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>
Diffstat (limited to 'drivers/staging/speakup')
0 files changed, 0 insertions, 0 deletions