[PATCH v4 3/6] mfd: cros_ec: Add cros_ec_get_host_event

2016-03-08 Thread Tomeu Vizoso
This function returns the code for the host event that triggered the interrupt that is being currently handled. Is to be used by observers of the event_notifier in the EC device. Signed-off-by: Tomeu Vizoso --- Changes in v4: None Changes in v3: None Changes in v2:

[PATCH v4 3/6] mfd: cros_ec: Add cros_ec_get_host_event

2016-03-08 Thread Tomeu Vizoso
This function returns the code for the host event that triggered the interrupt that is being currently handled. Is to be used by observers of the event_notifier in the EC device. Signed-off-by: Tomeu Vizoso --- Changes in v4: None Changes in v3: None Changes in v2: None