1
0
Fork 0
alistair23-linux/drivers/reset/sti
Markus Elfring aa248927d8 reset: sti: Use devm_kcalloc() in syscfg_reset_controller_register()
* A multiplication for the size determination of a memory allocation
  indicated that an array data structure should be processed.
  Thus use the corresponding function "devm_kcalloc".

* 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.

* Delete the local variable "size" which became unnecessary with
  this refactoring.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2017-05-15 08:59:08 +02:00
..
Kconfig reset: sti: Remove STiH415/6 reset support 2016-10-20 11:52:08 +02:00
Makefile reset: sti: Remove STiH415/6 reset support 2016-10-20 11:52:08 +02:00
reset-stih407.c reset: sti: Add support for resetting co-processors 2015-11-16 09:23:47 +01:00
reset-syscfg.c reset: sti: Use devm_kcalloc() in syscfg_reset_controller_register() 2017-05-15 08:59:08 +02:00
reset-syscfg.h drivers: reset: STi SoC system configuration reset controller support 2014-03-11 10:47:23 +00:00