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>
This commit is contained in:
Andy Shevchenko 2026-06-03 13:17:24 +02:00 committed by Hans Verkuil
parent 50f5fed44d
commit 7d77ef247f

View File

@ -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: