gpu: ion: make sure all clients are exposed in debugfs
authorMitchel Humpherys <mitchelh@codeaurora.org>
Mon, 7 Oct 2013 16:24:29 +0000 (09:24 -0700)
committerColin Cross <ccross@android.com>
Fri, 20 Dec 2013 03:25:40 +0000 (19:25 -0800)
commit550640ca7aec7789cdd52742b4c1d9dd712a5dd8
tree0ab319472dfed28ca5d5d18148c1763f1353a655
parent0d8b5323f86e992177e9995a7e5e0ee163575ee9
gpu: 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.

Change-Id: I000e45055d5029c7bccd88c36b238736929da3a5
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
drivers/staging/android/ion/ion.c