alistair23-linux/drivers/staging/vc04_services
Marcelo Diop-Gonzalez d2cdb20507 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: 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-10 10:56:56 +01:00
..
bcm2835-audio staging: vc04: Fix Kconfig indentation 2019-11-20 15:20:29 +01:00
bcm2835-camera staging: vc04_services: Replace VCHI_SERVICE_HANDLE_T typedef with struct vchi_service_handle 2019-11-07 16:22:57 +01:00
interface staging: vchiq: call unregister_chrdev_region() when driver registration fails 2019-12-10 10:56:56 +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