Commit de896499 authored by Wolfram Sang's avatar Wolfram Sang Committed by Boris Brezillon
Browse files

i3c: master: no need to iterate master device twice

parent bb6d3fb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1953,7 +1953,7 @@ of_i3c_master_add_i2c_boardinfo(struct i3c_master_controller *master,
	 * DEFSLVS command.
	 */
	if (boardinfo->base.flags & I2C_CLIENT_TEN) {
		dev_err(&master->dev, "I2C device with 10 bit address not supported.");
		dev_err(dev, "I2C device with 10 bit address not supported.");
		return -ENOTSUPP;
	}