diff options
author | Marcelo Diop-Gonzalez <marcgonzalez@google.com> | 2019-12-03 10:39:21 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-10 10:56:56 +0100 |
commit | d2cdb20507fe2079a146459f9718b45d78cbbe61 (patch) | |
tree | c4f25c358cb70cbbed8a3a330c09cd378402725b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4 (diff) |
staging: vchiq: call unregister_chrdev_region() when driver registration fails
This undoes the previous call to alloc_chrdev_region() on failure,
and is probably what was meant originally given the label name.
Signed-off-by: Marcelo Diop-Gonzalez <marcgonzalez@google.com>
Cc: stable <stable@vger.kernel.org>
Fixes: 187ac53e590c ("staging: vchiq_arm: rework probe and init functions")
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20191203153921.70540-1-marcgonzalez@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions