commit | 05c932639a3b16ecbb3d3f79c69cd5bf67ca32e1 | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Fri Sep 29 10:53:36 2017 +1300 |
committer | Heiko Schocher <hs@denx.de> | Wed Oct 11 06:17:22 2017 +0200 |
tree | dcb31609ff5744d36595d474bbcd64d1cfe33a89 | |
parent | 04dabc84aab4dfed9dd6f8d3ec5eea055c1fcbab [diff] |
i2c: muxes: pca954x: look up width from chip_desc Commit 8e6eda7cda6c ("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: Chris Packham <judge.packham@gmail.com> Reviewed-by: Marek Behun <marek.behun@nic.cz>