aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Martinez Canillas <[email protected]>2016-05-27 10:18:22 -0400
committerKalle Valo <[email protected]>2016-06-16 18:05:09 +0300
commit5e94913f676af0dddeb6e0f3de241de5bd92f3f1 (patch)
tree5d35933b7b4e8b7908bc9b18099201e53fdf9f0a /tools/perf/scripts/python
parent806dd220340d404857c2f1b8f4bd9f9f1f052d80 (diff)
mwifiex: use better message and error code when OF node doesn't match
The Documentation/devicetree/bindings/net/wireless/marvell-sd8xxx.txt DT binding document lists the possible compatible strings that a SDIO child node can have, so the driver checks if the defined in the node matches. But the error message when that's not the case is misleading, so change for one that makes clear what the error really is. Also, returning a -1 as errno code is not correct since that's -EPERM. A -EINVAL seems to be a more appropriate one. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Julian Calaby <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions