File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2877,21 +2877,6 @@ static void remove_boost_sysfs_file(void)
28772877 sysfs_remove_file (cpufreq_global_kobject , & boost .attr );
28782878}
28792879
2880- int cpufreq_enable_boost_support (void )
2881- {
2882- if (!cpufreq_driver )
2883- return - EINVAL ;
2884-
2885- if (cpufreq_boost_supported ())
2886- return 0 ;
2887-
2888- cpufreq_driver -> set_boost = cpufreq_boost_set_sw ;
2889-
2890- /* This will get removed on driver unregister */
2891- return create_boost_sysfs_file ();
2892- }
2893- EXPORT_SYMBOL_GPL (cpufreq_enable_boost_support );
2894-
28952880bool cpufreq_boost_enabled (void )
28962881{
28972882 return cpufreq_driver -> boost_enabled ;
Original file line number Diff line number Diff line change @@ -782,7 +782,6 @@ ssize_t cpufreq_show_cpus(const struct cpumask *mask, char *buf);
782782
783783#ifdef CONFIG_CPU_FREQ
784784bool cpufreq_boost_enabled (void );
785- int cpufreq_enable_boost_support (void );
786785int cpufreq_boost_set_sw (struct cpufreq_policy * policy , int state );
787786
788787/* Find lowest freq at or above target in a table in ascending order */
@@ -1157,11 +1156,6 @@ static inline bool cpufreq_boost_enabled(void)
11571156 return false;
11581157}
11591158
1160- static inline int cpufreq_enable_boost_support (void )
1161- {
1162- return - EINVAL ;
1163- }
1164-
11651159static inline int cpufreq_boost_set_sw (struct cpufreq_policy * policy , int state )
11661160{
11671161 return - EOPNOTSUPP ;
You can’t perform that action at this time.
0 commit comments