Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b469b0a authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Linus Walleij
Browse files

gpiolib: constify label in gpio_device



This string is never modified. Make it const.

Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c4b54e13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ struct gpio_device {
	struct gpio_desc	*descs;
	int			base;
	u16			ngpio;
	char			*label;
	const char		*label;
	void			*data;
	struct list_head        list;