diff options
author | Tai-hwa Liang <avatar@sentelic.com> | 2012-03-25 20:17:00 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-25 20:18:15 -0400 |
commit | 7b85f73d0461188aa397d428e6c53419ebfd86b4 (patch) | |
tree | 10d6baa5170ddf72e7e79861d51887cecc266f69 | |
parent | a4c85075f00d56b38f5c277ab89f9aaad69eb17b (diff) |
Input: sentelic - minor code cleanup
Improve code readability by converting yet another magic number into a
pre-defined constant.
Signed-off-by: Tai-hwa Liang <avatar@sentelic.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r-- | drivers/input/mouse/sentelic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/sentelic.c b/drivers/input/mouse/sentelic.c index 5ea5c689d262..d6bc5a0b2865 100644 --- a/drivers/input/mouse/sentelic.c +++ b/drivers/input/mouse/sentelic.c | |||
@@ -738,7 +738,7 @@ static psmouse_ret_t fsp_process_byte(struct psmouse *psmouse) | |||
738 | case FSP_PKT_TYPE_NORMAL_OPC: | 738 | case FSP_PKT_TYPE_NORMAL_OPC: |
739 | /* on-pad click, filter it if necessary */ | 739 | /* on-pad click, filter it if necessary */ |
740 | if ((ad->flags & FSPDRV_FLAG_EN_OPC) != FSPDRV_FLAG_EN_OPC) | 740 | if ((ad->flags & FSPDRV_FLAG_EN_OPC) != FSPDRV_FLAG_EN_OPC) |
741 | packet[0] &= ~BIT(0); | 741 | packet[0] &= ~FSP_PB0_LBTN; |
742 | /* fall through */ | 742 | /* fall through */ |
743 | 743 | ||
744 | case FSP_PKT_TYPE_NORMAL: | 744 | case FSP_PKT_TYPE_NORMAL: |