diff options
author | Tony Lindgren <tony@atomide.com> | 2015-09-03 19:34:30 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-09-14 09:13:43 +0200 |
commit | 942cde724075f840ded89390b10dce1a47a4d712 (patch) | |
tree | 838d42b5eb8cb93c3284649b8afe461a57cb1394 /drivers/cpufreq/exynos5440-cpufreq.c | |
parent | pinctrl: join lines that can be a single line within 80 columns (diff) | |
download | linux-942cde724075f840ded89390b10dce1a47a4d712.tar.xz linux-942cde724075f840ded89390b10dce1a47a4d712.zip |
pinctrl: core: Warn about NULL gpio_chip in pinctrl_ready_for_gpio_range()
If the gpio driver is confused about the numbers for gpio-ranges,
pinctrl_ready_for_gpio_range() may get called with invalid GPIO
causing a NULL pointer exception. Let's instead provide a warning
that allows fixing the problem and return with error.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/cpufreq/exynos5440-cpufreq.c')
0 files changed, 0 insertions, 0 deletions