From: Navin P <zicrim@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH] Remove redundant const in matrix_keypad.c
Date: Sun, 25 Sep 2011 10:38:16 +0000 [thread overview]
Message-ID: <4E7F01C8.2050409@gmail.com> (raw)
Remove the const keyword as SIMPLE_DEV_PMS_OPS already defines a const struct.
Signed-off-by: Navin P <zicrim@gmail.com>
---
drivers/input/keyboard/matrix_keypad.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c
index b02e426..c127658 100644
--- a/drivers/input/keyboard/matrix_keypad.c
+++ b/drivers/input/keyboard/matrix_keypad.c
@@ -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
--
1.7.0.4
next reply other threads:[~2011-09-25 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-25 10:38 Navin P [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-24 9:48 [patch ] remove redundant const in matrix_keypad.c Zic Rim
2011-09-24 11:16 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E7F01C8.2050409@gmail.com \
--to=zicrim@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.