staging: ion: Make sure all clients are exposed in debugfs
authorMitchel Humpherys <mitchelh@codeaurora.org>
Mon, 17 Feb 2014 21:58:37 +0000 (13:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:05:08 +0000 (11:05 -0800)
commit2803ac7bf20129365ff7b774adf63e0fd35c4221
tree6e927e2368d93f976d4e3ae420232f0427b966e9
parentae5cbf4a5a117549717d1da12ac1bd84f10dac59
staging: ion: Make sure all clients are exposed in debugfs

Currently, if multiple Ion clients are created with the same name, only
the first one shows up in debugfs. Rectify this by adding a
monotonically-increasing serial number to the debug names of Ion
clients.

Cc: Colin Cross <ccross@android.com>
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
[jstultz: Minor commit subject tweaks]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c