]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pinctrl: make use of pinctrl_utils_reserve_map
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 28 Jun 2018 19:03:04 +0000 (21:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2018 15:33:43 +0000 (17:33 +0200)
commit13a8320910a59981ab33ebcdfe166e75b0e811eb
treefd14b7719c5d37738ee5dd9ab493b3af0ebcc04b
parenta276a3fc892560a9e5ff2dd9d90279766a87817a
staging: mt7621-pinctrl: make use of pinctrl_utils_reserve_map

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 <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c