提交 a9001764 编写于 作者: B Bartosz Golaszewski

gpiolib: use 'unsigned int' instead of 'unsigned' in gpio_set_config()

Checkpatch complains about using 'unsigned' instead of 'unsigned int'.
Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
上级 2ddac5ae
...@@ -3042,7 +3042,7 @@ EXPORT_SYMBOL_GPL(gpiochip_free_own_desc); ...@@ -3042,7 +3042,7 @@ EXPORT_SYMBOL_GPL(gpiochip_free_own_desc);
* rely on gpio_request() having been called beforehand. * rely on gpio_request() having been called beforehand.
*/ */
static int gpio_set_config(struct gpio_chip *gc, unsigned offset, static int gpio_set_config(struct gpio_chip *gc, unsigned int offset,
enum pin_config_param mode) enum pin_config_param mode)
{ {
unsigned long config; unsigned long config;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册