OMAP2+: powerdomain: add voltage domain lookup during register
authorKevin Hilman <khilman@ti.com>
Wed, 16 Mar 2011 22:52:47 +0000 (15:52 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 18:39:10 +0000 (11:39 -0700)
commit048a7034f1044e69868df70bff32d8d67974e1b8
tree0a0de2cfd9d7d5b645c36c2cf6670678842d2e0f
parent7e1b94059cea39218071fdb78c4075b83d52e222
OMAP2+: powerdomain: add voltage domain lookup during register

When a powerdomain is registered, lookup the voltage domain by name
and keep a pointer to the containing voltagedomain in the powerdomain
structure.

Modeled after similar method between powerdomain and clockdomain layers.

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/powerdomain.c
arch/arm/mach-omap2/powerdomain.h
arch/arm/mach-omap2/voltage.h