hwspinlock/omap: simplify allocation scheme
authorOhad Ben-Cohen <ohad@wizery.com>
Mon, 5 Sep 2011 14:30:34 +0000 (17:30 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Wed, 21 Sep 2011 16:45:32 +0000 (19:45 +0300)
Instead of allocating every hwspinlock separately, allocate
them all in one shot.

This both simplifies the driver and helps achieving better
slab utilization.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>

No differences found