Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a03d499 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

Merge tag 'i2c-mux/for-4.12-2' of https://github.com/peda-r/i2c-mux into i2c/for-4.12

Pull in trivial change from the i2c-mux subsubsystem:

"I thought Mauro would take this patch, but then he just added a tag. So,
here's a late incremental pull request for v4.12-rc1..."
parents c99a30d8 f6cfec89
Loading
Loading
Loading
Loading
+4 −11
Original line number Diff line number Diff line
@@ -576,17 +576,10 @@ int cx231xx_i2c_mux_create(struct cx231xx *dev)

int cx231xx_i2c_mux_register(struct cx231xx *dev, int mux_no)
{
	int rc;

	rc = i2c_mux_add_adapter(dev->muxc,
	return i2c_mux_add_adapter(dev->muxc,
				   0,
				   mux_no /* chan_id */,
				   0 /* class */);
	if (rc)
		dev_warn(dev->dev,
			 "i2c mux %d register FAILED\n", mux_no);

	return rc;
}

void cx231xx_i2c_mux_unregister(struct cx231xx *dev)