]> git.kernelconcepts.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)
committerHuang Shijie <b32955@freescale.com>
Thu, 21 Nov 2013 03:10:57 +0000 (11:10 +0800)
commit57b82495feda52ebe57d23b948a7618336507157
tree6276c1fbd495cdca9492f8296b377a68ee56996e
parent7fe7aef17478956d0883af7f4faa863034e0292c
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