ion: dummy driver: use ARRAY_SIZE for nr of heaps
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 22 Jan 2014 17:15:55 +0000 (19:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 17:01:09 +0000 (09:01 -0800)
commit18691f53bcaab1226f22b733189ec9da190bb7a2
tree1a106cf2155d3693da497c312090f099fb92de4a
parent10f6f9c38a422451989eb4e36a14788b1799b491
ion: dummy driver: use ARRAY_SIZE for nr of heaps

use ARRAY_SIZE to count number of heaps in static array

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_dummy_driver.c