xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX
authorTao Chen <boby.chen@huawei.com>
Wed, 1 Apr 2015 15:04:22 +0000 (15:04 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 7 Apr 2015 14:32:43 +0000 (10:32 -0400)
Define pr_fmt macro with {xen-blkback: } prefix, then remove all use
of DRV_PFX in the pr sentences. Replace all DPRINTK with pr sentences,
and get rid of DPRINTK macro. It will simplify the code.

And if the pr sentences miss a \n, add it in the end. If the DPRINTK
sentences have redundant \n, remove it. It will format the code.

These all make the readability of the code become better.

Signed-off-by: Tao Chen <boby.chen@huawei.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c

Simple merge
Simple merge
Simple merge