* [PATCH] staging: mt7621-pinctrl: Replace unsigned with unsigned int
@ 2018-07-05 23:45 Peter Vernia
2018-07-06 15:37 ` Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Peter Vernia @ 2018-07-05 23:45 UTC (permalink / raw)
Cc: peter.vernia, Greg Kroah-Hartman, Kees Cook, NeilBrown,
Christian Lütke-Stetzkamp, John Crispin, devel, linux-kernel
Replaces instances of "unsigned" with "unsigned int" in pinctrl-mt7621.c
Signed-off-by: Peter Vernia <peter.vernia@gmail.com>
---
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 27 +++++++++++++------------
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
index 0c3e498..201df08 100644
--- a/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
+++ b/drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c
@@ -54,7 +54,7 @@ static int rt2880_get_group_count(struct pinctrl_dev *pctrldev)
}
static const char *rt2880_get_group_name(struct pinctrl_dev *pctrldev,
- unsigned group)
+ unsigned int group)
{
struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);
@@ -65,9 +65,9 @@ static const char *rt2880_get_group_name(struct pinctrl_dev *pctrldev,
}
static int rt2880_get_group_pins(struct pinctrl_dev *pctrldev,
- unsigned group,
- const unsigned **pins,
- unsigned *num_pins)
+ unsigned int group,
+ const unsigned int **pins,
+ unsigned int *num_pins)
{
struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);
@@ -81,7 +81,8 @@ static int rt2880_get_group_pins(struct pinctrl_dev *pctrldev,
}
static void rt2880_pinctrl_dt_free_map(struct pinctrl_dev *pctrldev,
- struct pinctrl_map *map, unsigned num_maps)
+ struct pinctrl_map *map,
+ unsigned int num_maps)
{
int i;
@@ -94,7 +95,7 @@ static void rt2880_pinctrl_dt_free_map(struct pinctrl_dev *pctrldev,
static void rt2880_pinctrl_pin_dbg_show(struct pinctrl_dev *pctrldev,
struct seq_file *s,
- unsigned offset)
+ unsigned int offset)
{
seq_printf(s, "ralink pio");
}
@@ -127,7 +128,7 @@ static void rt2880_pinctrl_dt_subnode_to_map(struct pinctrl_dev *pctrldev,
static int rt2880_pinctrl_dt_node_to_map(struct pinctrl_dev *pctrldev,
struct device_node *np_config,
struct pinctrl_map **map,
- unsigned *num_maps)
+ unsigned int *num_maps)
{
int max_maps = 0;
struct pinctrl_map *tmp;
@@ -173,7 +174,7 @@ static int rt2880_pmx_func_count(struct pinctrl_dev *pctrldev)
}
static const char *rt2880_pmx_func_name(struct pinctrl_dev *pctrldev,
- unsigned func)
+ unsigned int func)
{
struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);
@@ -181,9 +182,9 @@ static const char *rt2880_pmx_func_name(struct pinctrl_dev *pctrldev,
}
static int rt2880_pmx_group_get_groups(struct pinctrl_dev *pctrldev,
- unsigned func,
+ unsigned int func,
const char * const **groups,
- unsigned * const num_groups)
+ unsigned int * const num_groups)
{
struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);
@@ -198,8 +199,8 @@ static int rt2880_pmx_group_get_groups(struct pinctrl_dev *pctrldev,
}
static int rt2880_pmx_group_enable(struct pinctrl_dev *pctrldev,
- unsigned func,
- unsigned group)
+ unsigned int func,
+ unsigned int group)
{
struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);
u32 mode = 0;
@@ -243,7 +244,7 @@ static int rt2880_pmx_group_enable(struct pinctrl_dev *pctrldev,
static int rt2880_pmx_group_gpio_request_enable(struct pinctrl_dev *pctrldev,
struct pinctrl_gpio_range *range,
- unsigned pin)
+ unsigned int pin)
{
struct rt2880_priv *p = pinctrl_dev_get_drvdata(pctrldev);
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] staging: mt7621-pinctrl: Replace unsigned with unsigned int
2018-07-05 23:45 [PATCH] staging: mt7621-pinctrl: Replace unsigned with unsigned int Peter Vernia
@ 2018-07-06 15:37 ` Greg Kroah-Hartman
2018-07-07 6:55 ` Peter Vernia
0 siblings, 1 reply; 3+ messages in thread
From: Greg Kroah-Hartman @ 2018-07-06 15:37 UTC (permalink / raw)
To: Peter Vernia
Cc: devel, Kees Cook, linux-kernel, NeilBrown,
Christian Lütke-Stetzkamp, John Crispin
On Thu, Jul 05, 2018 at 07:45:41PM -0400, Peter Vernia wrote:
> Replaces instances of "unsigned" with "unsigned int" in pinctrl-mt7621.c
>
> Signed-off-by: Peter Vernia <peter.vernia@gmail.com>
> ---
> drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 27 +++++++++++++------------
> 1 file changed, 14 insertions(+), 13 deletions(-)
Someone else sent this same change before you did, sorry :(
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] staging: mt7621-pinctrl: Replace unsigned with unsigned int
2018-07-06 15:37 ` Greg Kroah-Hartman
@ 2018-07-07 6:55 ` Peter Vernia
0 siblings, 0 replies; 3+ messages in thread
From: Peter Vernia @ 2018-07-07 6:55 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: devel, Kees Cook, linux-kernel, NeilBrown,
Christian Lütke-Stetzkamp, John Crispin
On Fri, Jul 06, 2018 at 05:37:49PM +0200, Greg Kroah-Hartman wrote:
> Someone else sent this same change before you did, sorry :(
Thanks for the review anyway. I realize now that I was looking at the wrong tree.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-07 6:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-05 23:45 [PATCH] staging: mt7621-pinctrl: Replace unsigned with unsigned int Peter Vernia
2018-07-06 15:37 ` Greg Kroah-Hartman
2018-07-07 6:55 ` Peter Vernia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox