From: Huang Shijie Date: Tue, 19 Nov 2013 02:57:50 +0000 (+0800) Subject: mtd: gpmi: remove the unnecessary pr_err() X-Git-Tag: v3.14-rc1~65^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a34b8b730b6e12a8824c5bf2145022ed01f74f;p=pandora-kernel.git mtd: gpmi: remove the unnecessary pr_err() The error messages for the failure of dmaengine_prep_slave_sg are not necessary, this patch removes all these pr_err, and returns with the proper error code -EINVAL, not -1. Signed-off-by: Huang Shijie Signed-off-by: Brian Norris --- Reading git-diff-tree failed