Skip to content

Commit 663229e

Browse files
jhovoldvinodkoul
authored andcommitted
soundwire: bus: clean up probe warnings
Clean up the probe warning messages by using a common succinct and greppable format (e.g. without __func__ and with a space after ':'). Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 6dfbafd commit 663229e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/soundwire/bus_type.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static int sdw_drv_probe(struct device *dev)
123123
/* init the dynamic sysfs attributes we need */
124124
ret = sdw_slave_sysfs_dpn_init(slave);
125125
if (ret < 0)
126-
dev_warn(dev, "Slave sysfs init failed:%d\n", ret);
126+
dev_warn(dev, "failed to initialise sysfs: %d\n", ret);
127127

128128
/*
129129
* Check for valid clk_stop_timeout, use DisCo worst case value of
@@ -147,7 +147,7 @@ static int sdw_drv_probe(struct device *dev)
147147
if (drv->ops && drv->ops->update_status) {
148148
ret = drv->ops->update_status(slave, slave->status);
149149
if (ret < 0)
150-
dev_warn(dev, "%s: update_status failed with status %d\n", __func__, ret);
150+
dev_warn(dev, "failed to update status at probe: %d\n", ret);
151151
}
152152

153153
mutex_unlock(&slave->sdw_dev_lock);

0 commit comments

Comments
 (0)