Commit fcbb1142 authored by Andy Shevchenko's avatar Andy Shevchenko

platform/x86: surface3_power: Prefix POLL_INTERVAL with SURFACE_3

For better namespace maintenance prefix POLL_INTERVAL macro with SURFACE_3.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 48978995
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
#include <linux/uuid.h> #include <linux/uuid.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#define POLL_INTERVAL (2 * HZ) #define SURFACE_3_POLL_INTERVAL (2 * HZ)
#define SURFACE_3_STRLEN 10 #define SURFACE_3_STRLEN 10
struct mshw0011_data { struct mshw0011_data {
struct i2c_client *adp1; struct i2c_client *adp1;
...@@ -350,7 +350,7 @@ static int mshw0011_poll_task(void *data) ...@@ -350,7 +350,7 @@ static int mshw0011_poll_task(void *data)
set_freezable(); set_freezable();
while (!kthread_should_stop()) { while (!kthread_should_stop()) {
schedule_timeout_interruptible(POLL_INTERVAL); schedule_timeout_interruptible(SURFACE_3_POLL_INTERVAL);
try_to_freeze(); try_to_freeze();
ret = mshw0011_isr(data); ret = mshw0011_isr(data);
if (ret) if (ret)
......
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