aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2017-06-09 13:41:29 +0200
committerLinus Walleij <[email protected]>2017-06-20 09:18:59 +0200
commit4dc9d76c983db100ec91b65f6cee804871e5102f (patch)
tree189a63c7715324ebdd7305a462300361a821f02a /include/linux/fpga/fpga-mgr.h
parentb652336d3fb70b95a5b0a5ea3a32e7116b15be29 (diff)
gpio: mockup: don't return magic numbers from probe()
When the requested number of GPIO lines is 0, return -EINVAL, not -1 which is -EPERM. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions