commit | b447a75100a63c114a8aaa02563088f4995c09f3 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Mon Nov 27 11:48:39 2017 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Dec 02 22:42:24 2017 +0100 |
tree | b89d507ec4b2d136657b693d7d71cd3ac72f7442 | |
parent | 20c35ac473116101120b3e170f294bc5bc70bbc4 [diff] |
gpio: mockup: verify the number of GPIO chips requested The number of supported mockup chips is limited. Check this limit when parsing the module parameters. Also: make sure that each chip is described with a <base - ngpio> pair. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>