提交 12cdd579 编写于 作者: K Krzysztof Kozlowski

pinctrl: samsung: Consistently use unsigned instead of u32 for nr_banks

Unlike for other countable members, the driver used u32 for number of
banks (nr_banks).  There is no specific need for using fixed-width
integer in this particular place.  Make it consistent.
Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
上级 52d0ed00
...@@ -230,7 +230,7 @@ struct samsung_retention_data { ...@@ -230,7 +230,7 @@ struct samsung_retention_data {
*/ */
struct samsung_pin_ctrl { struct samsung_pin_ctrl {
const struct samsung_pin_bank_data *pin_banks; const struct samsung_pin_bank_data *pin_banks;
u32 nr_banks; unsigned int nr_banks;
unsigned int nr_ext_resources; unsigned int nr_ext_resources;
const struct samsung_retention_data *retention_data; const struct samsung_retention_data *retention_data;
...@@ -275,7 +275,7 @@ struct samsung_pinctrl_drv_data { ...@@ -275,7 +275,7 @@ struct samsung_pinctrl_drv_data {
unsigned int nr_functions; unsigned int nr_functions;
struct samsung_pin_bank *pin_banks; struct samsung_pin_bank *pin_banks;
u32 nr_banks; unsigned int nr_banks;
unsigned int pin_base; unsigned int pin_base;
unsigned int nr_pins; unsigned int nr_pins;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册