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,7 +40,7 @@
#include <linux/uuid.h>
#include <asm/unaligned.h>
#define POLL_INTERVAL (2 * HZ)
#define SURFACE_3_POLL_INTERVAL (2 * HZ)
#define SURFACE_3_STRLEN 10
struct mshw0011_data {
......@@ -350,7 +350,7 @@ static int mshw0011_poll_task(void *data)
set_freezable();
while (!kthread_should_stop()) {
schedule_timeout_interruptible(POLL_INTERVAL);
schedule_timeout_interruptible(SURFACE_3_POLL_INTERVAL);
try_to_freeze();
ret = mshw0011_isr(data);
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