gpu: ion: Clarify variable names and comments around heap ids v types
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 13 Dec 2013 22:24:28 +0000 (14:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:40 +0000 (08:55 -0800)
commit38eeeb51245c88d2be9bd098bcc32b15f6014bfa
treeba8e6f037e1d9d89aaf03057a3810d55fd10a0ec
parente3c2eb7cd9f291bf17ee056e388d0089cf378345
gpu: ion: Clarify variable names and comments around heap ids v types

There is some confusion between when to use the heap type and when
the id.  This patch clarifies this by using clearer variable names
and describing the intention in the comments.  Also fixes the client
debug code to print heaps by id instead of type.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h