From: Andrew Bresticker Date: Thu, 18 Sep 2014 15:18:56 +0000 (+0200) Subject: mfd: cros_ec: stop calling ->cmd_xfer() directly X-Git-Tag: fixes-against-v3.18-rc2~69^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6551a76fff15056fde2342d0f7de41ee605264e;p=pandora-kernel.git mfd: cros_ec: stop calling ->cmd_xfer() directly Instead of having users of the ChromeOS EC call the interface-specific cmd_xfer() callback directly, introduce a central cros_ec_cmd_xfer() to use instead. This will allow us to put all the locking and retry logic in one place instead of duplicating it across the different drivers. Signed-off-by: Andrew Bresticker Reviewed-by: Simon Glass Signed-off-by: Javier Martinez Canillas Reviewed-by: Doug Anderson Signed-off-by: Lee Jones --- Reading git-diff-tree failed