projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'leds-for-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anasz...
[linux-2.6-microblaze.git]
/
drivers
/
leds
/
leds-pca955x.c
diff --git
a/drivers/leds/leds-pca955x.c
b/drivers/leds/leds-pca955x.c
index
c2bc8f5
..
4037c50
100644
(file)
--- a/
drivers/leds/leds-pca955x.c
+++ b/
drivers/leds/leds-pca955x.c
@@
-429,7
+429,7
@@
static int pca955x_probe(struct i2c_client *client,
int ngpios = 0;
chip = &pca955x_chipdefs[id->driver_data];
- adapter =
to_i2c_adapter(client->dev.parent)
;
+ adapter =
client->adapter
;
pdata = dev_get_platdata(&client->dev);
if (!pdata) {
pdata = pca955x_get_pdata(client, chip);