leds: pca955x: check for I2C errors
This should also allow probing to fail when a pca955x chip is not found on a I2C bus. Signed-off-by: NCédric Le Goater <clg@kaod.org> Signed-off-by: NJacek Anaszewski <jacek.anaszewski@gmail.com>
Showing
想要评论请 注册 或 登录