diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-06-03 13:17:24 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-09-08 15:07:04 +0200 |
| commit | 7d77ef247f2abc6f71c584ed41a97a4957ea2b4c (patch) | |
| tree | 025640d0efad818fc0295a109d1b2096aa7f0211 | |
| parent | 50f5fed44d8e24081e8feed5154746fe193f11b8 (diff) | |
| download | linux-next-7d77ef247f2abc6f71c584ed41a97a4957ea2b4c.tar.gz linux-next-7d77ef247f2abc6f71c584ed41a97a4957ea2b4c.zip | |
media: tda18250: Use %*ph to print small buffer
Use %*ph format to print small buffer as hex string.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
| -rw-r--r-- | drivers/media/tuners/tda18250.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/tuners/tda18250.c b/drivers/media/tuners/tda18250.c index bd7ed50fb6e8..e4b4106e91b6 100644 --- a/drivers/media/tuners/tda18250.c +++ b/drivers/media/tuners/tda18250.c @@ -804,8 +804,7 @@ static int tda18250_probe(struct i2c_client *client) /* read the three chip ID registers */ regmap_bulk_read(dev->regmap, R00_ID1, &chip_id, 3); - dev_dbg(&client->dev, "chip_id=%02x:%02x:%02x", - chip_id[0], chip_id[1], chip_id[2]); + dev_dbg(&client->dev, "chip_id=%3phC", chip_id); switch (chip_id[0]) { case 0xc7: |
