Skip to content
Commit 9c6722d8 authored by Kevin Hao's avatar Kevin Hao Committed by Linus Walleij
Browse files

gpio: Fix the no return statement warning



In commit 24258761 ("gpiolib: Add support for the irqdomain which
doesn't use irq_fwspec as arg") we have changed the return type of
gpiochip_populate_parent_fwspec_twocell/fourcell() from void to void *,
but forgot to add a return statement for these two dummy functions.
Add "return NULL" to fix the build warnings.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarKevin Hao <haokexin@gmail.com>
Link: https://lore.kernel.org/r/20200116095003.30324-1-haokexin@gmail.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7a9f4460
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment