mtd: nand: refactor print messages
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 25 Nov 2013 11:30:31 +0000 (08:30 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:22 +0000 (11:22 -0800)
commit20171642ed064815fd4372e9e8b1fedff79148f1
treefe929a0f870729dab3724d934a509a15cfc40196
parent7e8eb8ae6618a82e598fe11ac01839d0bc4a5520
mtd: nand: refactor print messages

Add a nice "nand:" prefix to all pr_xxx() messages. This allows
to get rid of the "NAND" words in messages, given the context
is already given by the prefix.

Remove the __func__ report from messages where it's not needed and refactor
the device detection messages to show itself in several lines.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c