Skip to contentSkip to conversation

input synaptics-rmi4 trivial: rmi_f01.c tidy-up

PATCH Applied Christopher Heiny 2 participants 2 messages Jan 8, 2014 – Jan 9, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input synaptics-rmi4 trivial: rmi_f01.c tidy-up

This has two trivial changes:

1) use CONFIG_PM_SLEEP instead of CONFIG_PM for consistency.

2) Update the copyright date.

Cc Dmitry Torokhov <[email protected]>
Cc Benjamin Tissoires <[email protected]>
---
 drivers/input/rmi4/rmi_f01.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/rmi4/rmi_f01.c +2 -2
index 628b082..d547633 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012 Synaptics Incorporated
+ * Copyright (c) 2011-2014 Synaptics Incorporated
  * Copyright (c) 2011 Unixphere
  *
  * This program is free software; you can redistribute it and/or modify it
@@ -138,7 +138,7 @@ struct f01_data {
 	int irq_count;
 	int num_of_irq_regs;
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 	bool suspended;
 	bool old_nosleep;
 #endif
maintainer Applied
#1 lore raw
Quoted 9 lines · Christopher Heiny

This has two trivial changes:

1) use CONFIG_PM_SLEEP instead of CONFIG_PM for consistency.

2) Update the copyright date.

Cc Dmitry Torokhov <[email protected]>
Cc Benjamin Tissoires <[email protected]>

Applied, thank you.

Quoted 25 lines
---
 drivers/input/rmi4/rmi_f01.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/rmi4/rmi_f01.c +2 -2
index 628b082..d547633 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012 Synaptics Incorporated
+ * Copyright (c) 2011-2014 Synaptics Incorporated
  * Copyright (c) 2011 Unixphere
  *
  * This program is free software; you can redistribute it and/or modify it
@@ -138,7 +138,7 @@ struct f01_data {
 	int irq_count;
 	int num_of_irq_regs;
 
-#ifdef CONFIG_PM
+#ifdef CONFIG_PM_SLEEP
 	bool suspended;
 	bool old_nosleep;
 #endif
Signature · 1 line
Dmitry