Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wolfram Sang and committed by
Dmitry Torokhov
03c86ee1 176eb8dc

+1 -1
+1 -1
drivers/input/misc/adxl34x.c
··· 232 232 233 233 .ev_code_tap = {BTN_TOUCH, BTN_TOUCH, BTN_TOUCH}, /* EV_KEY {x,y,z} */ 234 234 .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, 235 - .fifo_mode = FIFO_STREAM, 235 + .fifo_mode = ADXL_FIFO_STREAM, 236 236 .watermark = 0, 237 237 }; 238 238