linux/drivers/pinctrl/mvebu
Markus Elfring e6e965ce56 pinctrl: mvebu: Use kmalloc_array() in mvebu_pinctrl_dt_node_to_map()
* A multiplication for the size determination of a memory allocation
  indicated that an array data structure should be processed.
  Thus use the corresponding function "kmalloc_array".

  This issue was detected by using the Coccinelle software.

* Replace the specification of a data structure by a pointer dereference
  to make the corresponding size determination a bit safer according to
  the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-17 15:53:45 +01:00
..
Kconfig pinctrl: mvebu: add pinctrl driver for Marvell Armada 39x 2015-03-04 13:53:55 +01:00
Makefile pinctrl: mvebu: guard sub-directory with CONFIG_PINCTRL_MVEBU 2015-12-01 10:41:03 +01:00
pinctrl-armada-38x.c pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-armada-39x.c pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-armada-370.c pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-armada-375.c pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-armada-xp.c pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-dove.c pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-kirkwood.c pinctrl: fix pincontrol definition for marvell 2016-07-24 16:23:50 +02:00
pinctrl-mvebu.c pinctrl: mvebu: Use kmalloc_array() in mvebu_pinctrl_dt_node_to_map() 2017-01-17 15:53:45 +01:00
pinctrl-mvebu.h pinctrl: mvebu: Use devm_pinctrl_register() for pinctrl registration 2016-04-21 00:02:39 +02:00
pinctrl-orion.c pinctrl: mvebu: orion5x: Generalise mv88f5181l support for 88f5181 2016-09-21 11:49:18 +02:00