linux/drivers/staging/android
Vladimir Zapolskiy ccbc2a9e78 staging: android: ion_test: fix check of platform_device_register_simple() error code
On error platform_device_register_simple() returns ERR_PTR() value,
check for NULL always fails. The change corrects the check itself and
propagates the returned error upwards.

Fixes: 81fb0b9013 ("staging: android: ion_test: unregister the platform device")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-22 22:27:36 -04:00
..
ion staging: android: ion_test: fix check of platform_device_register_simple() error code 2016-03-22 22:27:36 -04:00
trace staging/android: remove SYNC_WAIT ioctl 2016-02-07 17:34:58 -08:00
uapi staging/android: remove len field from struct sync_fence_info 2016-02-07 17:34:58 -08:00
ashmem.c Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
ashmem.h
Kconfig staging/android: move SW_SYNC_USER to a debugfs file 2016-02-07 17:34:58 -08:00
lowmemorykiller.c staging: lowmemorykiller: fix 2 checks that checkpatch complained 2016-03-11 22:09:09 -08:00
Makefile
sw_sync.c staging/android: remove driver_data from struct sync_fence_info 2016-02-07 17:34:58 -08:00
sw_sync.h staging/android: remove struct sync_pt 2016-02-07 17:34:58 -08:00
sync_debug.c drivers/staging/android: don't use modular references in sync_debug.c 2016-02-14 16:35:00 -08:00
sync.c staging: android: Remove unneeded else following a return 2016-02-20 15:24:51 -08:00
sync.h staging/android: remove driver_data from struct sync_fence_info 2016-02-07 17:34:58 -08:00
timed_gpio.c staging: android: Use devm_kcalloc instead of devm_kzalloc 2016-03-11 22:09:09 -08:00
timed_gpio.h
timed_output.c drivers/staging: make android timed_output.c explicitly non-modular 2015-10-12 21:12:17 -07:00
timed_output.h
TODO staging/android: add TODO to de-stage android sync framework 2015-12-14 11:05:45 -08:00