summaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-11-27 11:48:39 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-12-02 22:42:24 +0100
commitb447a75100a63c114a8aaa02563088f4995c09f3 (patch)
treeb89d507ec4b2d136657b693d7d71cd3ac72f7442 /drivers/android
parentgpio: mockup: parse the module params in init, not probe (diff)
downloadlinux-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