# Re: \[PATCH v2 3/7\] i2c: i2c-core-base: Use format macro in i2c\_dev\_set\_name()

- From: Wolfram Sang \<wsa@kernel.org\>
- Date: 2021-01-18 10:07:17 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2021/01/6238178
- Thread: https://ratatoskr.run/linux-acpi/2021/01/6237815/t.md

```text

> >  	if (adev) {
> > -		dev_set_name(&client->dev, "i2c-%s", acpi_dev_name(adev));
> > +		dev_set_name(&client->dev, I2C_DEV_NAME_FORMAT, acpi_dev_name(adev));
> 
> Over 80, please wrap.

I am not that strict with the 80, and I don't think it will improve
readability here. It can stay this time IMO.

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-gpio/2021/01/6238178/attachment/0) (application/pgp-signature, 833 bytes)
