Home
last modified time | relevance | path

Searched hist:fbf40727c781a3b8562e76a86cd08a111414d1c7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_lpc.cdiff fbf40727c781a3b8562e76a86cd08a111414d1c7 Mon Jun 22 01:27:18 CDT 2015 Javier Martinez Canillas <javier.martinez@collabora.co.uk> platform/chrome: cros_ec_lpc - Use existing function to check EC result

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 Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>