Skip to contentSkip to conversation

Remove redundant const in matrix_keypad.c

PATCH New Navin P 1 participant 1 message Sep 25, 2011

Subsystems (2)
lore
Share & tools
lore

Navin P

author
#0 lore raw

PATCH 1/1 Remove redundant const in matrix_keypad.c

Remove the const keyword as SIMPLE_DEV_PMS_OPS already defines a const struct.

---
 drivers/input/keyboard/matrix_keypad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/keyboard/matrix_keypad.c +1 -1
index b02e426..c127658 100644
@@ -294,7 +294,7 @@ static int matrix_keypad_resume(struct device *dev)
 	return 0;
 }
 
-static const SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops,
+static SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops,
 				matrix_keypad_suspend, matrix_keypad_resume);
 #endif
 
Signature · 1 line
1.7.0.4