diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-11-27 11:48:39 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-02 22:42:24 +0100 |
commit | b447a75100a63c114a8aaa02563088f4995c09f3 (patch) | |
tree | b89d507ec4b2d136657b693d7d71cd3ac72f7442 /drivers/android | |
parent | gpio: mockup: parse the module params in init, not probe (diff) | |
download | linux-b447a75100a63c114a8aaa02563088f4995c09f3.tar.xz linux-b447a75100a63c114a8aaa02563088f4995c09f3.zip |
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>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions