Re: [PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 27, 2015 at 02:00:57PM +0530, Sudip Mukherjee wrote: > 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 > --- > drivers/staging/unisys/visorchipset/file.c | 4 +++- > 1

[PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Sudip Mukherjee
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 --- drivers/staging/unisys/visorchipset/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 27, 2015 at 02:00:57PM +0530, Sudip Mukherjee wrote: 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 su...@vectorindia.org ---

[PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Sudip Mukherjee
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 su...@vectorindia.org --- drivers/staging/unisys/visorchipset/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git