android_kernel_oneplus_msm8998/include/linux/i2c
Nick Dyer fb5e4c3ee1 Input: atmel_mxt_ts - improve T19 GPIO keys handling
* The mapping of the GPIO numbers into the T19 status byte varies between
   different maXTouch chips. Some have up to 7 GPIOs. Allowing a keycode array
   of up to 8 items is simpler and more generic. So replace #define with
   configurable number of keys which also allows the removal of is_tp.
 * Rename platform data parameters to include "t19" to prevent confusion with
   T15 key array.
 * Probe aborts early on when pdata is NULL, so no need to check.
 * Move "int i" to beginning of function (mixed declarations and code)
 * Use API calls rather than __set_bit()
 * Remove unused dev variable.

Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Yufeng Shen <miletus@chromium.org>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-05-18 23:27:22 -07:00
..
adp5588.h gpio: adp5588 - use "unsigned" for the setup and teardown callbacks 2014-02-13 13:51:17 +01:00
adp8860.h
adp8870.h backlight: new driver for the ADP8870 backlight devices 2011-06-15 20:03:59 -07:00
ads1015.h
apds990x.h
atmel_mxt_ts.h Input: atmel_mxt_ts - improve T19 GPIO keys handling 2014-05-18 23:27:22 -07:00
bfin_twi.h i2c: bfin-twi: move bits macros and structs in header from arch include to generic include 2014-03-09 08:40:41 +01:00
bh1770glc.h
dm355evm_msp.h
ds620.h
i2c-hid.h HID: i2c-hid: add DT bindings 2013-07-31 12:10:31 +02:00
i2c-rcar.h i2c: add Renesas R-Car I2C driver 2012-10-08 12:46:25 +02:00
i2c-sh_mobile.h i2c: i2c-sh_mobile: support I2C hardware block with a faster operating clock 2012-11-16 09:09:12 +01:00
lm8323.h
ltc4245.h
max732x.h
max6639.h
mcs.h
mms114.h Input: add MELFAS mms114 touchscreen driver 2012-07-17 23:16:17 -07:00
mpr121_touchkey.h Input: add driver FSL MPR121 capacitive touch sensor 2011-05-12 08:28:58 -07:00
pca954x.h i2c-mux: Add support for device auto-detection 2012-10-05 22:23:51 +02:00
pcf857x.h gpio: pcf857x: use client->irq for gpio_to_irq() 2012-12-07 09:16:12 +01:00
pmbus.h
pxa-i2c.h i2c: pxa: enable high speed mode for i2c bus 2013-08-07 16:58:07 +02:00
s6000.h
sx150x.h
tc35876x.h gma500: initial medfield merge 2012-03-10 13:05:48 +00:00
tps65010.h
tsc2007.h Input: tsc2007 - remove unused poll_delay from platform data 2013-11-25 18:27:54 -08:00
twl.h mfd: twl-core: Add twl_i2c_read/write_u16 2014-03-18 08:15:34 +00:00
twl4030-madc.h mfd: twl4030-madc: Cleanup driver 2014-03-18 08:13:39 +00:00