Re: [RESEND PATCH 2/8] platform/chrome: cros_ec_lpc - Use existing function to check EC result

2015-04-25 Thread Gwendal Grignou
Reviewed-by: Gwendal Grignou Tested-by: Gwendal Grignou On Mon, Apr 6, 2015 at 9:15 AM, Javier Martinez Canillas wrote: > Commit 6db07b633658 ("mfd: cros_ec: Check result code from EC messages") > added a common cros_ec_check_result() function that can be used to check > the ec_msg->result for

[RESEND PATCH 2/8] platform/chrome: cros_ec_lpc - Use existing function to check EC result

2015-04-06 Thread Javier Martinez Canillas
Commit 6db07b633658 ("mfd: cros_ec: Check result code from EC messages") added a common cros_ec_check_result() function that can be used to check the ec_msg->result for errors and warns about them. Use the existing function instead of duplicating same check in the driver. Signed-off-by: Javier Ma