From: Wei Yongjun Date: Mon, 23 Sep 2013 15:00:15 +0000 (+0800) Subject: s3fb: fix error return code in s3_pci_probe() X-Git-Tag: v3.12-rc3~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2a6fc5f182fdb179a4f5262ee77c2c2684fe0cd;p=pandora-kernel.git s3fb: fix error return code in s3_pci_probe() Fix to return -EINVAL when virtual vertical size smaller than real instead of 0, as done elsewhere in this function. Also remove dup code. Signed-off-by: Wei Yongjun Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed