Skip to content

Commit

Permalink
platform/x86: surface3_power: Prefix POLL_INTERVAL with SURFACE_3
Browse files Browse the repository at this point in the history
For better namespace maintenance prefix POLL_INTERVAL macro with SURFACE_3.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
  • Loading branch information
Andy Shevchenko committed Mar 28, 2020
1 parent 4897899 commit fcbb114
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/platform/x86/surface3_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fcbb114

Please sign in to comment.