From: Andrii Tseglytskyi Date: Mon, 27 May 2013 11:09:24 +0000 (+0300) Subject: PM / AVS: SmartReflex: use omap_sr * for enable/disable interface X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~19^2~8^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=299066bb376ef7720cc3d8de95d5b967c5446863;p=pandora-kernel.git PM / AVS: SmartReflex: use omap_sr * for enable/disable interface SmartReflex driver interface is natively divided to two parts: - external SmartReflex interface - interface between SmartReflex driver and SmartReflex Class Functions which belong to AVS class interface can use struct omap_sr* instead of struct voltatedomain*, to provide a direct connection between SR driver and SR class. This allows us to optimize and not do additional lookups where none is required. sr_enable() and sr_disable() are interface functions between SR driver and SR class. They are typically used by Class driver to enable/disable SmartReflex hardware module. Now they take struct omap_sr* as input parameter. Signed-off-by: Andrii Tseglytskyi Acked-by: Nishanth Menon Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed