Skip to content

Commit fcbb114

Browse files
committed
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 <[email protected]>
1 parent 4897899 commit fcbb114

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/platform/x86/surface3_power.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
#include <linux/uuid.h>
4141
#include <asm/unaligned.h>
4242

43-
#define POLL_INTERVAL (2 * HZ)
44-
#define SURFACE_3_STRLEN 10
43+
#define SURFACE_3_POLL_INTERVAL (2 * HZ)
44+
#define SURFACE_3_STRLEN 10
4545

4646
struct mshw0011_data {
4747
struct i2c_client *adp1;
@@ -350,7 +350,7 @@ static int mshw0011_poll_task(void *data)
350350
set_freezable();
351351

352352
while (!kthread_should_stop()) {
353-
schedule_timeout_interruptible(POLL_INTERVAL);
353+
schedule_timeout_interruptible(SURFACE_3_POLL_INTERVAL);
354354
try_to_freeze();
355355
ret = mshw0011_isr(data);
356356
if (ret)

0 commit comments

Comments
 (0)