summaryrefslogtreecommitdiff
path: root/drivers/block/skd_s1120.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-17 13:12:58 -0700
committerJens Axboe <axboe@kernel.dk>2017-08-18 08:45:29 -0600
commitf98806d616da0898a972f79491ab2cd67370fd01 (patch)
tree4cde92e5a5997fddd3990adaaec1ac13cca5c199 /drivers/block/skd_s1120.h
parent14262a4bbc6f86d339a20c744978937c2045227a (diff)
skd: Switch from the pr_*() to the dev_*() logging functions
Use dev_err() and dev_info() instead of pr_err() and pr_info(). Since dev_dbg() is able to report file name and line number information, remove __FILE__ and __LINE__ from the dev_dbg() calls. Remove the struct skd_device members and the function (skd_name()) that became superfluous due to these changes. This patch removes the device name and serial number from log statements. An example of the old log line format: (skd0:STM000196603:[0000:00:09.0]): Driver state STARTING(3)=>ONLINE(4) An example of the new log line format: skd:0000:00:09.0: Driver state STARTING(3)=>ONLINE(4) Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/skd_s1120.h')
0 files changed, 0 insertions, 0 deletions