Skip to content
Snippets Groups Projects
Commit 5bc90a89 authored by Chris Packham's avatar Chris Packham Committed by Heiko Schocher
Browse files

i2c: muxes: pca954x: look up width from chip_desc


Commit 8e6eda7c ("drivers/i2c/muxes/pca954x: Add pca9547 I2C mux
support") introduced a chip_desc for the pca954x devices but failed to
update pca954x_ofdata_to_platdata() to be aware of it. Make
pca954x_ofdata_to_platdata() lookup the chip_desc to validate the device
width.

Signed-off-by: default avatarChris Packham <judge.packham@gmail.com>
Reviewed-by: default avatarMarek Behun <marek.behun@nic.cz>
parent 45c9d96a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment