summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-11-27 11:48:38 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-12-02 22:42:23 +0100
commit20c35ac473116101120b3e170f294bc5bc70bbc4 (patch)
tree003843920d39d61fa6d3b7e859458380f6aeeb68 /drivers/rtc
parentgpio: mockup: add missing prefixes (diff)
downloadlinux-20c35ac473116101120b3e170f294bc5bc70bbc4.tar.xz
linux-20c35ac473116101120b3e170f294bc5bc70bbc4.zip
gpio: mockup: parse the module params in init, not probe
If the module parameters are invalid, we should bail out from the init function instead of detecting it during the device probe. That way we don't even allow the user to load the module if we don't accept the arguments. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions