diff options
author | Stefan Herdler <[email protected]> | 2024-04-15 04:24:11 +0200 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-04-16 00:02:53 +0200 |
commit | c3224f4147cc4159f2a47fe2162ee9b23bb09ed2 (patch) | |
tree | f192915fc0a35bf6f749f4fca9e320620e7187f4 /drivers/net/wireless/intel/iwlwifi/tests/module.c | |
parent | 58557349a875d321a582880b12943329a9f3fde4 (diff) |
media: ttpci: coding style fixes: logging
This patch fixes the following checkpatch warnings:
WARNING:PRINTK_WITHOUT_KERN_LEVEL: printk() should include KERN_<LEVEL> facility level
WARNING:PREFER_PR_LEVEL: Prefer [subsystem eg: netdev]_dbg([subsystem]dev, ... then dev_dbg(dev, ... then pr_debug(... to printk(KERN_DEBUG ...
WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'ciintf_slot_ts_enable', this function's name, in a string
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'level' may be better as '(level)' to avoid precedence issues
There was no consistent style of logging functions used so far.
Convert all logging to the appropriate pr_* macros.
Add a global pr_fmt macro for the whole driver.
Signed-off-by: Stefan Herdler <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/tests/module.c')
0 files changed, 0 insertions, 0 deletions