[RESEND PATCH v3 3/6] mfd: cros_ec: Add cros_ec_get_host_event

2016-03-02 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 v3: None Changes in v2: None

[RESEND PATCH v3 3/6] mfd: cros_ec: Add cros_ec_get_host_event

2016-03-02 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 v3: None Changes in v2: None drivers/platform/chrome/cros_ec_proto.c |