i2c: pca-platform: add devicetree awareness
Allow devices that use this driver to be registered via a devicetree. Signed-off-by: NChris Packham <chris.packham@alliedtelesis.co.nz> [wsa: fixed leakage when registering GPIO failed] Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Showing
想要评论请 注册 或 登录