git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: Always use 'struct device.of_node' to get device node pointer.
[safe/jmp/linux-2.6]
/
drivers
/
gpio
/
pca953x.c
diff --git
a/drivers/gpio/pca953x.c
b/drivers/gpio/pca953x.c
index
7d521e1
..
1db114b
100644
(file)
--- a/
drivers/gpio/pca953x.c
+++ b/
drivers/gpio/pca953x.c
@@
-437,7
+437,7
@@
pca953x_get_alt_pdata(struct i2c_client *client)
struct device_node *node;
const uint16_t *val;
- node =
dev_archdata_get_node(&client->dev.archdata)
;
+ node =
client->dev.of_node
;
if (node == NULL)
return NULL;