From fcbb1142fea32fed1d944992f57033cf90d0fb4a Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Fri, 27 Mar 2020 12:48:47 +0200 Subject: [PATCH] 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 --- drivers/platform/x86/surface3_power.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c index 4229e64a84e89..f6c646f5af930 100644 --- a/drivers/platform/x86/surface3_power.c +++ b/drivers/platform/x86/surface3_power.c @@ -40,8 +40,8 @@ #include #include -#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)