gpu: ion: Check for NULL pointer in client destroy

Silently check for a null pointer in ion_client_destroy

Change-Id: Ic0dedbada03496faf2eb024c40f9cfaf8d08c98f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c
index 90c260b..6675b40 100644
--- a/drivers/gpu/ion/ion.c
+++ b/drivers/gpu/ion/ion.c
@@ -871,7 +871,8 @@
 
 void ion_client_destroy(struct ion_client *client)
 {
-	ion_client_put(client);
+	if (client)
+		ion_client_put(client);
 }
 
 int ion_handle_get_flags(struct ion_client *client, struct ion_handle *handle,