leds: pca955x: check for I2C errors
authorCédric Le Goater <clg@kaod.org>
Wed, 30 Aug 2017 11:25:51 +0000 (13:25 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Wed, 30 Aug 2017 19:37:53 +0000 (21:37 +0200)
commit1591caf2d5eafdfb3b300691f8f99e5bb97d5406
tree0da3ecebe62a570c28224065aa02391b65100db6
parentf5808ac158f2b16b686a3d3c0879c5d6048aba14
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: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-pca955x.c