platform/x86: surface3_power: Prefix POLL_INTERVAL with SURFACE_3

For better namespace maintenance prefix POLL_INTERVAL macro with SURFACE_3.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Andy Shevchenko 2020-03-27 12:48:47 +02:00
parent 4897899595
commit fcbb1142fe
1 changed files with 3 additions and 3 deletions

View File

@ -40,8 +40,8 @@
#include <linux/uuid.h>
#include <asm/unaligned.h>
#define POLL_INTERVAL (2 * HZ)
#define SURFACE_3_STRLEN 10
#define SURFACE_3_POLL_INTERVAL (2 * HZ)
#define SURFACE_3_STRLEN 10
struct mshw0011_data {
struct i2c_client *adp1;
@ -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)