mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
ARM: omap2: smartreflex: remove on_init control
Nothing calls omap_enable_smartreflex_on_init() any more, so it does not need to be tracked either. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
#include "control.h"
|
||||
#include "pm.h"
|
||||
|
||||
static bool sr_enable_on_init;
|
||||
|
||||
/* Read EFUSE values from control registers for OMAP3430 */
|
||||
static void __init sr_set_nvalues(struct omap_volt_data *volt_data,
|
||||
struct omap_sr_data *sr_data)
|
||||
@@ -144,8 +142,6 @@ static int __init sr_init_by_name(const char *name, const char *voltdm)
|
||||
|
||||
sr_set_nvalues(volt_data, sr_data);
|
||||
|
||||
sr_data->enable_on_init = sr_enable_on_init;
|
||||
|
||||
exit:
|
||||
i++;
|
||||
|
||||
@@ -173,15 +169,6 @@ static int __init sr_dev_init(struct omap_hwmod *oh, void *user)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* API to be called from board files to enable smartreflex
|
||||
* autocompensation at init.
|
||||
*/
|
||||
void __init omap_enable_smartreflex_on_init(void)
|
||||
{
|
||||
sr_enable_on_init = true;
|
||||
}
|
||||
|
||||
static const char * const omap4_sr_instances[] = {
|
||||
"mpu",
|
||||
"iva",
|
||||
|
||||
Reference in New Issue
Block a user