Hi Dudley, On Wed, Apr 16, 2014 at 08:35:52AM +0000, Dudley Du wrote: > Re-architecture the driver to support function pointers, so it can support and integrate new devices later in one driver. > Including use async thread in device proble to speed up system boot time. > TEST=test on Chomebooks. There seems to be changes implementing aasync probing intermixed with the function pointers change, it had to be split out and justification needs to be provided - I am not quite convinced we should be doing this, at least not at individual driver level. Also instead of listing individual function pointers consider defining struct cyapa_ops { void (*irq_handler)(struct cyapa *); int (*set_power_mode)(struct cyapa *, u8, u16); int (*bl_enter_func)(struct cyapa *); .... }; and use const pointer to it in cyapa_state. Then you can have gen3 and gen5 implementation separated into individual files and the rest forming cyapa core. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html