OSDN Git Service

gpio: tegra: Remove unnecessary check
authorThierry Reding <treding@nvidia.com>
Mon, 24 Jul 2017 14:55:05 +0000 (16:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:13 +0000 (15:01 +0200)
commit20133bd5ebbb58cdf224c769dea2a475c746bc1a
tree7f94fcd449aa03d611c6e3ff1ecee3aa29b7ea14
parente3b445d77819b8fb41e3ceae9dbd49c8c8427c5d
gpio: tegra: Remove unnecessary check

of_device_get_match_data() can never return NULL, therefore the check
for NULL values is unnecessary.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c