aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Dooks <[email protected]>2015-12-08 10:19:26 +0000
committerLinus Walleij <[email protected]>2015-12-09 08:06:10 +0100
commit6f29c9afbe636fc0e35c82a11eaf45c3b85eb07a (patch)
tree9ab2628820c9b03529c0fc145e3d9c656917e6d7 /tools/perf/scripts/python
parent9f49f6dd0473c8fab4522e2e2cb16e93ffb8f3f0 (diff)
gpio: pca935x: fix of-only probed devices
If the pca953x device is probed from OF using the proper OF probing then the i2c-client will be NULL and the device probe will fail as id is NULL and it isn't an ACPI device (previous drivers would simply OOPS out). Add support for the of_device_id table having the same data as the others so that the correct paths will be taken when registering a device. An example of current valid of node which did not work: gpio@38 { compatible = "onsemi,pca9654", "nxp,pca9534"; reg = <0x38>; interrupt-parent = <&gpio5>; interrupts = <25 IRQ_TYPE_LEVEL_LOW>; }; Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions