diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 11:39:56 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:26:00 -0400 |
commit | e2986827d5d0759788d00f3759bcd46fc28f96c5 (patch) | |
tree | f1272cf940e80a0f3ee3e307341a2df0bbad6dbe /drivers/mtd/ubi/kapi.c | |
parent | 7bf523ae252d654f1fa85c5e8759f221afe1c593 (diff) |
UBI: get rid of dbg_err
This patch removes the 'dbg_err()' macro and we now use 'ubi_err' instead.
The idea of 'dbg_err()' was to compile out some error message to make the
binary a bit smaller - but I think it was a bad idea.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
-rw-r--r-- | drivers/mtd/ubi/kapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index 33ede23769db..d76fe47477e5 100644 --- a/drivers/mtd/ubi/kapi.c +++ b/drivers/mtd/ubi/kapi.c | |||
@@ -221,7 +221,7 @@ out_free: | |||
221 | kfree(desc); | 221 | kfree(desc); |
222 | out_put_ubi: | 222 | out_put_ubi: |
223 | ubi_put_device(ubi); | 223 | ubi_put_device(ubi); |
224 | dbg_err("cannot open device %d, volume %d, error %d", | 224 | ubi_err("cannot open device %d, volume %d, error %d", |
225 | ubi_num, vol_id, err); | 225 | ubi_num, vol_id, err); |
226 | return ERR_PTR(err); | 226 | return ERR_PTR(err); |
227 | } | 227 | } |