commit | 239f32b4f161c1584cd4b386d6ab8766432a6ede | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Fri Jul 16 17:03:31 2021 -0500 |
committer | Pavel Machek <pavel@ucw.cz> | Fri Aug 20 11:00:08 2021 +0200 |
tree | 718bfa7f03d38be491bca4ff6fd1b2106338c9ce | |
parent | 7c4815929276b2e223eb6f2e49afe5071d4294a5 [diff] |
leds: pca955x: Switch to i2c probe_new The deprecated i2c probe functionality doesn't work with OF compatible strings, as it only checks for the i2c device id. Switch to the new way of probing and grab the match data to select the chip type. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>