summaryrefslogtreecommitdiff
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-01-13 14:30:43 +0100
committerMark Brown <broonie@kernel.org>2017-01-17 18:34:25 +0000
commit797236f10a095a1742373bca5f284c5ec8afb446 (patch)
treef53c25716f83d86d0cfea7387cf22ba7373fcfff /drivers/spi/Kconfig
parentffcaef5ac27b62b480b94036615b3ae4f1b725fe (diff)
spi/ppc4xx: Use kcalloc() in spi_ppc4xx_of_probe()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle software. * Replace the specification of a data type 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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions