mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
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:
parent
50f5fed44d
commit
7d77ef247f
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user