1
0
Fork 0
alistair23-linux/drivers/staging/vc04_services
Marcelo Diop-Gonzalez 2aaf1e194e staging: vchiq: call unregister_chrdev_region() when driver registration fails
commit d2cdb20507 upstream.

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: 187ac53e59 ("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>
2019-12-17 19:55:34 +01:00
..
bcm2835-audio staging: bcm2835-audio: Fix draining behavior regression 2019-10-01 08:22:44 +02:00
bcm2835-camera Staging/IIO driver patches for 5.4-rc1 2019-09-18 11:05:34 -07:00
interface staging: vchiq: call unregister_chrdev_region() when driver registration fails 2019-12-17 19:55:34 +01:00
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: vc04_services: Remove defines from Makefile 2018-05-06 19:04:43 -07:00