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
Also in
linux-acpi, linux-i2c, lkml, platform-driver-x86
Reply to
Sakari Ailus, 2021-01-18
quoted
 	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

Thread (98 messages) 98 messages, 11 authors, last reply 2021-02-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help