projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8efcc50
)
Input: eeti_ts - remove redundant null check
author
Sachin Kamat
<
[email protected]
>
Thu, 28 Mar 2013 08:14:46 +0000
(
01:14
-0700)
committer
Dmitry Torokhov
<
[email protected]
>
Sun, 31 Mar 2013 07:22:27 +0000
(
00:22
-0700)
'pdata' is already dereferenced earlier. Hence this check is
meaningless.
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/touchscreen/eeti_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/eeti_ts.c
b/drivers/input/touchscreen/eeti_ts.c
index 55255a940072e7a0fb488670d984fd0c1df1de0e..8fe5086c8d2e0b0d54f291a7b1f1a3f90293cad9 100644
(file)
--- a/
drivers/input/touchscreen/eeti_ts.c
+++ b/
drivers/input/touchscreen/eeti_ts.c
@@
-206,8
+206,7
@@
static int eeti_ts_probe(struct i2c_client *client,
if (err < 0)
goto err1;
- if (pdata)
- priv->irq_active_high = pdata->irq_active_high;
+ priv->irq_active_high = pdata->irq_active_high;
irq_flags = priv->irq_active_high ?
IRQF_TRIGGER_RISING : IRQF_TRIGGER_FALLING;