linux/drivers/media/pci/ttpci
Stefan Herdler c3224f4147 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 <herdler@nurfuerspam.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-04-16 00:02:53 +02:00
..
budget-av.c media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
budget-ci.c media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
budget-core.c media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
budget.c media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
budget.h media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
Kconfig media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00
Makefile media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" 2023-02-09 09:22:36 +01:00