![]() * 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> |
||
---|---|---|
.. | ||
adp5588.h | ||
adp8860.h | ||
adp8870.h | ||
ads1015.h | ||
apds990x.h | ||
atmel_mxt_ts.h | ||
bfin_twi.h | ||
bh1770glc.h | ||
dm355evm_msp.h | ||
ds620.h | ||
i2c-hid.h | ||
i2c-rcar.h | ||
i2c-sh_mobile.h | ||
lm8323.h | ||
ltc4245.h | ||
max732x.h | ||
max6639.h | ||
mcs.h | ||
mms114.h | ||
mpr121_touchkey.h | ||
pca954x.h | ||
pcf857x.h | ||
pmbus.h | ||
pxa-i2c.h | ||
s6000.h | ||
sx150x.h | ||
tc35876x.h | ||
tps65010.h | ||
tsc2007.h | ||
twl.h | ||
twl4030-madc.h |