aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/stm/policy.c
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-03-04 16:36:10 +0200
committerAlexander Shishkin <alexander.shishkin@linux.intel.com>2016-04-08 16:11:52 +0300
commitcbe4a61d1ddc4790d950ca8c33ef79ee68ef5e2b (patch)
tree87c9756404d8959ec2b19ad6b974f48f14bd1c2a /drivers/hwtracing/stm/policy.c
parentstm class: Remove a pointless line (diff)
downloadlinux-dev-cbe4a61d1ddc4790d950ca8c33ef79ee68ef5e2b.tar.xz
linux-dev-cbe4a61d1ddc4790d950ca8c33ef79ee68ef5e2b.zip
stm class: Do not leak the chrdev in error path
Currently, the error path of stm_register_device() forgets to unregister the chrdev. Fix this. Reported-by: Alan Cox <alan.cox@intel.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Laurent Fert <laurent.fert@intel.com>
Diffstat (limited to 'drivers/hwtracing/stm/policy.c')
0 files changed, 0 insertions, 0 deletions