diff options
| author | Axel Lin <[email protected]> | 2012-11-13 20:20:50 +0800 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2012-11-15 12:31:23 +0100 |
| commit | 6f37b1b4d407d6abcd24c4519cd892903229cd95 (patch) | |
| tree | 2ff0edf60a91f17fb7c16d6c587357dda5f33d45 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 80357203ec68a2c8ebcb61d2cebdf02d10369af1 (diff) | |
pinctrl: spear: Make get_gpio_pingroup return NULL when no gpio_pingroup found
Currently get_gpio_pingroup() may return NULL or ERR_PTR(-EINVAL) when
no gpio_pingroup found. The caller in gpio_request_endisable() only
checks if the return value is NULL. Return ERR_PTR(-EINVAL) for
get_gpio_pingroup() causes problem and seems not necessary.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions