Skip to content

Commit a900176

Browse files
committed
gpiolib: use 'unsigned int' instead of 'unsigned' in gpio_set_config()
Checkpatch complains about using 'unsigned' instead of 'unsigned int'. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
1 parent 2ddac5a commit a900176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3042,7 +3042,7 @@ EXPORT_SYMBOL_GPL(gpiochip_free_own_desc);
30423042
* rely on gpio_request() having been called beforehand.
30433043
*/
30443044

3045-
static int gpio_set_config(struct gpio_chip *gc, unsigned offset,
3045+
static int gpio_set_config(struct gpio_chip *gc, unsigned int offset,
30463046
enum pin_config_param mode)
30473047
{
30483048
unsigned long config;

0 commit comments

Comments
 (0)