aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/pca953x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/pca953x.c')
-rw-r--r--drivers/gpio/pca953x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/pca953x.c b/drivers/gpio/pca953x.c
index 7d521e1d17e1..1db114b09990 100644
--- a/drivers/gpio/pca953x.c
+++ b/drivers/gpio/pca953x.c
@@ -437,7 +437,7 @@ pca953x_get_alt_pdata(struct i2c_client *client)
437 struct device_node *node; 437 struct device_node *node;
438 const uint16_t *val; 438 const uint16_t *val;
439 439
440 node = dev_archdata_get_node(&client->dev.archdata); 440 node = client->dev.of_node;
441 if (node == NULL) 441 if (node == NULL)
442 return NULL; 442 return NULL;
443 443