From 43a34b8b730b6e12a8824c5bf2145022ed01f74f Mon Sep 17 00:00:00 2001 From: Huang Shijie Date: Tue, 19 Nov 2013 10:57:50 +0800 Subject: [PATCH] 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-format-patch failed