struct gpio_desc **desc_array,
                                   struct gpio_array *array_info,
                                   unsigned long *value_bitmap)
-       void gpiod_set_raw_array_value(unsigned int array_size,
-                                      struct gpio_desc **desc_array,
-                                      struct gpio_array *array_info,
-                                      unsigned long *value_bitmap)
+       int gpiod_set_raw_array_value(unsigned int array_size,
+                                     struct gpio_desc **desc_array,
+                                     struct gpio_array *array_info,
+                                     unsigned long *value_bitmap)
        void gpiod_set_array_value_cansleep(unsigned int array_size,
                                            struct gpio_desc **desc_array,
                                            struct gpio_array *array_info,
                                            unsigned long *value_bitmap)
-       void gpiod_set_raw_array_value_cansleep(unsigned int array_size,
-                                               struct gpio_desc **desc_array,
-                                               struct gpio_array *array_info,
-                                               unsigned long *value_bitmap)
+       int gpiod_set_raw_array_value_cansleep(unsigned int array_size,
+                                              struct gpio_desc **desc_array,
+                                              struct gpio_array *array_info,
+                                              unsigned long *value_bitmap)
 
 The array can be an arbitrary set of GPIOs. The functions will try to access
 GPIOs belonging to the same bank or chip simultaneously if supported by the