gpio: max732x: Remove duplicate NULL check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 Oct 2017 14:21:39 +0000 (16:21 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Nov 2017 12:25:23 +0000 (13:25 +0100)
commite1c73a99067ee378e395da89efff40daa7096f42
treec51b0796b4e1069a3004ddca6098afd24bcbbc8c
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
gpio: max732x: Remove duplicate NULL check

Since i2c_unregister_device() became NULL-aware we may remove duplicate
NULL check.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-max732x.c