diff options
author | Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> | 2013-05-27 15:09:24 +0400 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2013-06-10 21:46:18 +0400 |
commit | 299066bb376ef7720cc3d8de95d5b967c5446863 (patch) | |
tree | 2c8fccdbe53d050a71ede615271a566d75e7fc67 /drivers/ata/pata_pxa.c | |
parent | 6c80573415fe47450579d5d8bfab53b304d803ed (diff) | |
download | linux-299066bb376ef7720cc3d8de95d5b967c5446863.tar.xz |
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 <andrii.tseglytskyi@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'drivers/ata/pata_pxa.c')
0 files changed, 0 insertions, 0 deletions