]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 22 Nov 2013 22:13:09 +0000 (14:13 -0800)
commitfc7f6987cd8c0b714c33d528bf4126710e69b882
treec65ff8e2e93a307f4404435770f685576ea3ba86
parent887c9e67809ac3dbd6e1073ad90f066a98737819
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