staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages
authorNishad Kamdar <nishadkamdar@gmail.com>
Fri, 31 Aug 2018 22:19:43 +0000 (03:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 15:04:21 +0000 (17:04 +0200)
commitbc554d1e94bdfdcca540c1a8b2c01a930a437a15
treebcf8c3033203541d1c22d45b06990824353a7a25
parent72536ea687d838bc949982162df49f5f66f7404f
staging: mt7621-mmc: Fix debug macro ERR_MSG and its usages

Replace all usages of ERR_MSG with with dev_<level> without __func__
or __LINE__ or current->comm and current->pid. Remove the do {}
while(0) loop for the single statement macro. Delete commented
ERR_MSG() usage. Drop ERR_MSG from dbg.h. Issue found by checkpatch.

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/dbg.h
drivers/staging/mt7621-mmc/sd.c