summaryrefslogtreecommitdiffstats
path: root/drivers/misc/apds990x.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-07-13 17:32:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-27 10:30:47 -0700
commit1037b2787b6df12f31b7051f7cdbb289f7972ee7 (patch)
tree8bde5d2469ea29dc36f00127a87d78dae2394615 /drivers/misc/apds990x.c
parent344e62b36d3fa680ffbd35ee26b52f7bf4c1c4ec (diff)
downloadlinux-1037b2787b6df12f31b7051f7cdbb289f7972ee7.tar.gz
linux-1037b2787b6df12f31b7051f7cdbb289f7972ee7.tar.bz2
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/misc/apds990x.c')
0 files changed, 0 insertions, 0 deletions