diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-22 11:33:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-26 09:10:04 -0300 |
commit | 6908368879c3e4965d849c893d3741858a8d1842 (patch) | |
tree | 6305153c01f8e2a2c0bbe12f8b11ee548eb68e38 /drivers/media/common/siano/smscoreapi.h | |
parent | [media] siano: replace sms_log() by pr_debug() (diff) | |
download | linux-dev-6908368879c3e4965d849c893d3741858a8d1842.tar.xz linux-dev-6908368879c3e4965d849c893d3741858a8d1842.zip |
[media] siano: replace sms_debug() by pr_debug()
There's no reason to use a macro here. Just replace everything,
and let those debug messages to be activated via dynamic printk.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/common/siano/smscoreapi.h')
-rw-r--r-- | drivers/media/common/siano/smscoreapi.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/common/siano/smscoreapi.h b/drivers/media/common/siano/smscoreapi.h index ab6506fd65c8..ef735681cb8e 100644 --- a/drivers/media/common/siano/smscoreapi.h +++ b/drivers/media/common/siano/smscoreapi.h @@ -1184,9 +1184,4 @@ int smscore_led_state(struct smscore_device_t *core, int led); pr_info(fmt "\n", ##arg); \ } while (0) -#define sms_debug(fmt, arg...) do {\ - if (sms_dbg & DBG_ADV) \ - printk(KERN_DEBUG pr_fmt(fmt "\n"), ##arg); \ -} while (0) - #endif /* __SMS_CORE_API_H__ */ |