diff options
author | William Breathitt Gray <william.gray@linaro.org> | 2022-08-18 12:28:15 -0400 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-09-15 10:29:12 +0200 |
commit | c95671a3e77ca6f1ed42e891d1fef2ef166a7fdc (patch) | |
tree | efa0012cea83a7b3bdf88d0e09590ab1f6c1cd55 /init | |
parent | c6074f3fcf8b67acf8e3bdf678ace1f9c18dfb9e (diff) | |
download | linux-stable-c95671a3e77ca6f1ed42e891d1fef2ef166a7fdc.tar.gz linux-stable-c95671a3e77ca6f1ed42e891d1fef2ef166a7fdc.tar.bz2 linux-stable-c95671a3e77ca6f1ed42e891d1fef2ef166a7fdc.zip |
gpio: ws16c48: Ensure number of irq matches number of base
The ws16c48 module calls devm_request_irq() for each device. If the
number of irq passed to the module does not match the number of base, a
default value of 0 is passed to devm_request_irq(). IRQ 0 is probably
not what the user wants, so utilize the module_isa_driver_with_irq macro
to ensure the number of irq matches the number of base.
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions