From: Vasundhara Volam Date: Fri, 6 Feb 2015 13:18:37 +0000 (-0500) Subject: be2net: refactor code that checks flash file compatibility X-Git-Tag: fixes-v4.0-rc1~150^2~23^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d3acd0d161012caee0a8be2d03ac04ba901df09;p=pandora-kernel.git be2net: refactor code that checks flash file compatibility This patch re-factors the code that checks for flash file compatibility with the chip type, for better readability, as follows: - be_get_ufi_type() returns the UFI type from the flash file - be_check_ufi_compatibility() checks if the UFI type is compatible with the adapter/chip that is being flashed Signed-off-by: Vasundhara Volam Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed