diff options
Diffstat (limited to 'drivers/gpio/pca953x.c')
-rw-r--r-- | drivers/gpio/pca953x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c index b827c976dc62..f156ab3bb6ed 100644 --- a/drivers/gpio/pca953x.c +++ b/drivers/gpio/pca953x.c | |||
@@ -449,7 +449,7 @@ pca953x_get_alt_pdata(struct i2c_client *client) | |||
449 | struct device_node *node; | 449 | struct device_node *node; |
450 | const uint16_t *val; | 450 | const uint16_t *val; |
451 | 451 | ||
452 | node = dev_archdata_get_node(&client->dev.archdata); | 452 | node = client->dev.of_node; |
453 | if (node == NULL) | 453 | if (node == NULL) |
454 | return NULL; | 454 | return NULL; |
455 | 455 | ||