Skip to content

Commit

Permalink
Input: adxl34x - default platform_data should not use defines from dr…
Browse files Browse the repository at this point in the history
…iver

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>
  • Loading branch information
Wolfram Sang authored and Dmitry Torokhov committed Dec 24, 2012
1 parent 176eb8d commit 03c86ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/misc/adxl34x.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ static const struct adxl34x_platform_data adxl34x_default_init = {

.ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY {x,y,z} */
.power_mode = ADXL_AUTO_SLEEP | ADXL_LINK,
.fifo_mode = FIFO_STREAM,
.fifo_mode = ADXL_FIFO_STREAM,
.watermark = 0,
};

Expand Down

0 comments on commit 03c86ee

Please sign in to comment.