gpio: drop patch adding several new build warnings
drivers/gpio/gpiolib-devprop.c: In function ‘devprop_gpiochip_set_names’:
drivers/gpio/gpiolib-devprop.c:36:42: warning: passing argument 1 of ‘fwnode_property_read_string_array’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ret = fwnode_property_read_string_array(fwnode, "gpio-line-names",
^
In file included from drivers/gpio/gpiolib-devprop.c:12:0:
./include/linux/property.h:67:5: note: expected ‘struct fwnode_handle *’ but argument is of type ‘const struct fwnode_handle *’
int fwnode_property_read_string_array(struct fwnode_handle *fwnode,
^
drivers/gpio/gpiolib-devprop.c:52:42: warning: passing argument 1 of ‘fwnode_property_read_string_array’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ret = fwnode_property_read_string_array(fwnode, "gpio-line-names",
^
In file included from drivers/gpio/gpiolib-devprop.c:12:0:
./include/linux/property.h:67:5: note: expected ‘struct fwnode_handle *’ but argument is of type ‘const struct fwnode_handle *’
int fwnode_property_read_string_array(struct fwnode_handle *fwnode,
^
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
3 files changed