Commit 11b389cc authored by Andy Shevchenko's avatar Andy Shevchenko

pinctrl: intel: Missed type change to unsigned int

We converted 'unsigned' type to be 'unsigned int' in the driver,
but there are couple of leftovers. So, finish the task now.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent c9ccf71f
...@@ -1131,7 +1131,7 @@ static irqreturn_t intel_gpio_community_irq_handler(struct intel_pinctrl *pctrl, ...@@ -1131,7 +1131,7 @@ static irqreturn_t intel_gpio_community_irq_handler(struct intel_pinctrl *pctrl,
pending &= enabled; pending &= enabled;
for_each_set_bit(gpp_offset, &pending, padgrp->size) { for_each_set_bit(gpp_offset, &pending, padgrp->size) {
unsigned irq; unsigned int irq;
irq = irq_find_mapping(gc->irq.domain, irq = irq_find_mapping(gc->irq.domain,
padgrp->gpio_base + gpp_offset); padgrp->gpio_base + gpp_offset);
...@@ -1181,7 +1181,7 @@ static int intel_gpio_add_pin_ranges(struct intel_pinctrl *pctrl, ...@@ -1181,7 +1181,7 @@ static int intel_gpio_add_pin_ranges(struct intel_pinctrl *pctrl,
return ret; return ret;
} }
static unsigned intel_gpio_ngpio(const struct intel_pinctrl *pctrl) static unsigned int intel_gpio_ngpio(const struct intel_pinctrl *pctrl)
{ {
const struct intel_community *community; const struct intel_community *community;
unsigned int ngpio = 0; unsigned int ngpio = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment