Commit c836e5cf authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Thomas Gleixner

x86/platform/intel-mid: Use common power off sequence

Intel Medfield may use common for Intel MID devices power sequence.
Remove unneded custom power off stub.

While here, remove function forward declaration.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170308112422.67533-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 0d443b70
...@@ -17,16 +17,6 @@ ...@@ -17,16 +17,6 @@
#include "intel_mid_weak_decls.h" #include "intel_mid_weak_decls.h"
static void penwell_arch_setup(void);
/* penwell arch ops */
static struct intel_mid_ops penwell_ops = {
.arch_setup = penwell_arch_setup,
};
static void mfld_power_off(void)
{
}
static unsigned long __init mfld_calibrate_tsc(void) static unsigned long __init mfld_calibrate_tsc(void)
{ {
unsigned long fast_calibrate; unsigned long fast_calibrate;
...@@ -63,9 +53,12 @@ static unsigned long __init mfld_calibrate_tsc(void) ...@@ -63,9 +53,12 @@ static unsigned long __init mfld_calibrate_tsc(void)
static void __init penwell_arch_setup(void) static void __init penwell_arch_setup(void)
{ {
x86_platform.calibrate_tsc = mfld_calibrate_tsc; x86_platform.calibrate_tsc = mfld_calibrate_tsc;
pm_power_off = mfld_power_off;
} }
static struct intel_mid_ops penwell_ops = {
.arch_setup = penwell_arch_setup,
};
void *get_penwell_ops(void) void *get_penwell_ops(void)
{ {
return &penwell_ops; return &penwell_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment