aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/adxl34x.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2012-12-24 12:50:13 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-12-24 12:52:46 -0500
commit03c86ee1548a6ffecc65cf83b0a2d2774fed2f1d (patch)
tree70d72ace9558ac49f82a7349848e9e14b43fc1e0 /drivers/input/misc/adxl34x.c
parent176eb8dc91bd91e7b1beb1761ee29f016e8c09e8 (diff)
Input: adxl34x - default platform_data should not use defines from driver
Only use the defines which are defined in the platform_data include file. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/adxl34x.c')
-rw-r--r--drivers/input/misc/adxl34x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c
index 6be8687de056..0735de3a6468 100644
--- a/drivers/input/misc/adxl34x.c
+++ b/drivers/input/misc/adxl34x.c
@@ -232,7 +232,7 @@ static const struct adxl34x_platform_data adxl34x_default_init = {
232 232
233 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY {x,y,z} */ 233 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY {x,y,z} */
234 .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, 234 .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK,
235 .fifo_mode = FIFO_STREAM, 235 .fifo_mode = ADXL_FIFO_STREAM,
236 .watermark = 0, 236 .watermark = 0,
237}; 237};
238 238