Skip to content
Commit c97f6dd0 authored by Ohad Ben-Cohen's avatar Ohad Ben-Cohen
Browse files

hwspinlock/omap: simplify allocation scheme



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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent e467b642
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment