From: Tomas Winkler Date: Mon, 11 Mar 2013 16:27:02 +0000 (+0200) Subject: mei: revamp mei_data2slots X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~139^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c8d080ed94cea6757f2d781b6e360a74b256fd;p=pandora-kernel.git mei: revamp mei_data2slots 1. Move the mei_data2slots to mei_dev.h as it will be used by the all supported HW. 2. Change return value from u8 to u32 to catch possible overflows 3. Eliminate computing the slots number twice in the same function Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed