summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-27 13:48:47 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-28 23:37:29 +0300
commitfcbb1142fea32fed1d944992f57033cf90d0fb4a (patch)
tree12fe1329d92aa3bc0a4ee7b9e989c02cdb97b895 /drivers/platform
parent48978995950b2ebbebdc47623fe55c75f1633e40 (diff)
downloadlinux-fcbb1142fea32fed1d944992f57033cf90d0fb4a.tar.xz
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/surface3_power.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c
index 4229e64a84e8..f6c646f5af93 100644
--- a/drivers/platform/x86/surface3_power.c
+++ b/drivers/platform/x86/surface3_power.c
@@ -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)