Commit 04035f7f authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Linus Walleij

pinctrl: intel: Convert unsigned to unsigned int

Simple type conversion with no functional change implied.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 73ae1462
This diff is collapsed.
...@@ -27,10 +27,10 @@ struct device; ...@@ -27,10 +27,10 @@ struct device;
*/ */
struct intel_pingroup { struct intel_pingroup {
const char *name; const char *name;
const unsigned *pins; const unsigned int *pins;
size_t npins; size_t npins;
unsigned short mode; unsigned short mode;
const unsigned *modes; const unsigned int *modes;
}; };
/** /**
...@@ -58,11 +58,11 @@ struct intel_function { ...@@ -58,11 +58,11 @@ struct intel_function {
* to specify them. * to specify them.
*/ */
struct intel_padgroup { struct intel_padgroup {
unsigned reg_num; unsigned int reg_num;
unsigned base; unsigned int base;
unsigned size; unsigned int size;
int gpio_base; int gpio_base;
unsigned padown_num; unsigned int padown_num;
}; };
/** /**
...@@ -98,17 +98,17 @@ struct intel_padgroup { ...@@ -98,17 +98,17 @@ struct intel_padgroup {
* pass custom @gpps and @ngpps instead. * pass custom @gpps and @ngpps instead.
*/ */
struct intel_community { struct intel_community {
unsigned barno; unsigned int barno;
unsigned padown_offset; unsigned int padown_offset;
unsigned padcfglock_offset; unsigned int padcfglock_offset;
unsigned hostown_offset; unsigned int hostown_offset;
unsigned is_offset; unsigned int is_offset;
unsigned ie_offset; unsigned int ie_offset;
unsigned pin_base; unsigned int pin_base;
unsigned gpp_size; unsigned int gpp_size;
unsigned gpp_num_padown_regs; unsigned int gpp_num_padown_regs;
size_t npins; size_t npins;
unsigned features; unsigned int features;
const struct intel_padgroup *gpps; const struct intel_padgroup *gpps;
size_t ngpps; size_t ngpps;
/* Reserved for the core driver */ /* Reserved for the core driver */
......
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