aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBamvor Jian Zhang <[email protected]>2015-11-16 13:02:47 +0800
committerLinus Walleij <[email protected]>2015-11-19 09:24:40 +0100
commit5ed41cc4baaf4127661d2a8f8f2ee6e3085e0fa9 (patch)
treecde0d7d31e4deab80a6def316ba661ef3873a0f2 /tools/perf/scripts/python
parentef7c7553039b3d1c847b38b0f1ea208f8d5d8370 (diff)
gpiolib: do not allow to insert an empty gpiochip
We need to check if number of gpio is positive if there is no such check in devicetree or acpi or whatever called before gpiochip_add. I suppose that devicetree and acpi do not allow insert gpiochip with zero number but I do not know if it is enough to ignore this check in gpiochip_add. Signed-off-by: Bamvor Jian Zhang <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions