ARM: OMAP4+: prminst: provide function to find prm_dev instance offset
authorNishanth Menon <nm@ti.com>
Fri, 22 Aug 2014 13:51:48 +0000 (08:51 -0500)
committerTero Kristo <t-kristo@ti.com>
Fri, 22 Aug 2014 15:38:22 +0000 (18:38 +0300)
PRM device instance can vary depending on SoC. We already handle the
same during reset of the device, However, this is also needed
for other logic instances. So, first abstract this out to a generic
function.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>

No differences found