diff options
| author | Andrey Smirnov <[email protected]> | 2017-04-21 09:30:23 -0700 |
|---|---|---|
| committer | Brian Norris <[email protected]> | 2017-05-11 10:04:32 -0700 |
| commit | 02f62864f6cebbbbff6bb611fddf78c1d05a9747 (patch) | |
| tree | 74818e0032764eac4d932a1785efe000cb6e0024 /tools/perf/scripts/python | |
| parent | 41c9c6621afa22c86fe74cf07536fd21c7719ca6 (diff) | |
mtd: dataflash: Replace pr_debug, printk with dev_* functions
Lion's share of calls to pr_debug in this driver follow the pattern of
pr_debug("%s <message>", dev_name(<dev>), <arguments>), which should
be semantically identical to dev_dbg(<dev>, "<message>", <arguments>),
so replace such occurencies to simplify the code.
Convert the small minority of pr_debug that do not follow pattern from
above to use dev_dbg as well, for the sake of consistency.
Convert similar patter of printk(KERN_ERR, "%s: ...", dev_name(...),
...) to use dev_err instead.
No functional change intended.
Cc: [email protected]
Cc: David Woodhouse <[email protected]>
Cc: Brian Norris <[email protected]>
Cc: Boris Brezillon <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Cyrille Pitchen <[email protected]>
Cc: [email protected]
Reviewed-by: Marek Vasut <[email protected]>
Tested-by: Chris Healy <[email protected]>
Signed-off-by: Andrey Smirnov <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions