regulator: Convert tps65023 to use regmap API
[deliverable/linux.git] / drivers / gpio / it8761e_gpio.c
index 41a9388f2fde03917455e77a9d18149ba3f292dc..48fc43c4bdd11fc2849a2273fcdf10e98267cc91 100644 (file)
@@ -217,7 +217,10 @@ gpiochip_add_err:
 static void __exit it8761e_gpio_exit(void)
 {
        if (gpio_ba) {
-               gpiochip_remove(&it8761e_gpio_chip);
+               int ret = gpiochip_remove(&it8761e_gpio_chip);
+
+               WARN(ret, "%s(): gpiochip_remove() failed, ret=%d\n",
+                               __func__, ret);
 
                release_region(gpio_ba, GPIO_IOSIZE);
                gpio_ba = 0;
This page took 0.025345 seconds and 5 git commands to generate.