diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-07-13 14:02:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-27 19:30:47 +0200 |
commit | 1037b2787b6df12f31b7051f7cdbb289f7972ee7 (patch) | |
tree | 8bde5d2469ea29dc36f00127a87d78dae2394615 /drivers/hid/hid-samsung.c | |
parent | char: misc: remove redundant ifdef (diff) | |
download | linux-1037b2787b6df12f31b7051f7cdbb289f7972ee7.tar.xz linux-1037b2787b6df12f31b7051f7cdbb289f7972ee7.zip |
char: misc: fix error path
Lets call remove_proc_entry() in the error path only if we have
successfully created "misc" in procfs.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid/hid-samsung.c')
0 files changed, 0 insertions, 0 deletions