diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-11-27 11:48:52 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-02 22:42:30 +0100 |
commit | 1e0dca677b9c780e90e708ac3f884c54dba94b18 (patch) | |
tree | e6304b12cce1f6fd4ce0683f4725a6e009391837 /drivers/gpio/gpio-sch.c | |
parent | c47bee95f62748baed83ca56c6f8c73c830f986e (diff) |
gpio: mockup: modify the return value check for devm_irq_sim_init()
As discussed with Marc Zyngier: irq_sim_init() and its devres variant
should return the base of the allocated interrupt range on success
rather than 0. This will be modified later - first, change the way
users handle the return value of these routines.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-sch.c')
0 files changed, 0 insertions, 0 deletions