mtd: use sprintf instead of printk in show functions
authorYi Zeng <yi.zeng@amlogic.com>
Fri, 23 Mar 2018 06:28:12 +0000 (14:28 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sat, 24 Mar 2018 09:20:56 +0000 (01:20 -0800)
commit79fe27f635096e1207165c14b4fae03a5dbe6114
treec67b886de357f6e3dc62f6fc257ad831b9c0122f
parent6d6abcb26a6ccc9c2eb50bb8f103c1f931bb7a69
mtd: use sprintf instead of printk in show functions

PD#134355: mtd: use sprintf instead of printk in show functions

Remove the unused system attribute in dtb and env.

Change-Id: Ie7f7bda60ac1b192708a6b6fd0dc1c77ca1eb0e0
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
drivers/amlogic/mtd/aml_dtb.c
drivers/amlogic/mtd/aml_env.c