Re: [PATCH 13/18] staging: mt7621-pinctrl: make use of pinctrl_utils_reserve_map

2018-07-08 Thread Sergio Paracuellos
On Mon, Jul 09, 2018 at 08:48:14AM +1000, NeilBrown wrote: > On Thu, Jun 07 2018, Sergio Paracuellos wrote: > > > Function rt2880_pinctrl_dt_node_to_map was using 'kzalloc' to > > reserve map memory. There is a 'pinctrl_utils_reserve_map' to > > do this function. Just use it. > > > >

Re: [PATCH 13/18] staging: mt7621-pinctrl: make use of pinctrl_utils_reserve_map

2018-07-08 Thread NeilBrown
On Thu, Jun 07 2018, Sergio Paracuellos wrote: > Function rt2880_pinctrl_dt_node_to_map was using 'kzalloc' to > reserve map memory. There is a 'pinctrl_utils_reserve_map' to > do this function. Just use it. > > Signed-off-by: Sergio Paracuellos > --- >

[PATCH 13/18] staging: mt7621-pinctrl: make use of pinctrl_utils_reserve_map

2018-06-07 Thread Sergio Paracuellos
Function rt2880_pinctrl_dt_node_to_map was using 'kzalloc' to reserve map memory. There is a 'pinctrl_utils_reserve_map' to do this function. Just use it. Signed-off-by: Sergio Paracuellos --- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 12 +--- 1 file changed, 9 insertions(+), 3