hwspinlock/core: simplify 'owner' handling
authorOhad Ben-Cohen <ohad@wizery.com>
Mon, 5 Sep 2011 13:42:36 +0000 (16:42 +0300)
committerOhad Ben-Cohen <ohad@wizery.com>
Wed, 21 Sep 2011 16:45:32 +0000 (19:45 +0300)
commite467b6421435f467e274d4f25d62900e1e0e4286
tree9b9b9eb7ab9680b89d34a2732f73b78b2d107582
parent315d8f5ccdbb2abb609d1ca1119fb32273a09cf8
hwspinlock/core: simplify 'owner' handling

Use struct device_driver's owner member instead of asking drivers to
explicitly pass the owner again.

This simplifies drivers and also save some memory, since there's no
point now in maintaining a separate owner pointer per hwspinlock.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Documentation/hwspinlock.txt
drivers/hwspinlock/hwspinlock_core.c
drivers/hwspinlock/hwspinlock_internal.h
drivers/hwspinlock/omap_hwspinlock.c