mtd: gpmi: remove the unnecessary pr_err()
authorHuang Shijie <b32955@freescale.com>
Tue, 19 Nov 2013 02:57:50 +0000 (10:57 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:19 +0000 (11:22 -0800)
commit43a34b8b730b6e12a8824c5bf2145022ed01f74f
tree9002fa835479f2fa78ab1b44cff2241aa8de4d39
parent4f0614a020524547d46e85ae5327f531e33cdf47
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 <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-lib.c