1
0
Fork 0
alistair23-linux/drivers/clk/bcm
Vaishali Thakkar 4087a5f2e5 clk: bcm/kona: Do not use sizeof on pointer type
When sizeof is applied to a pointer typed expression, it gives
the size of the pointer. So, here do not use sizeof on pointer
type. Also, silent checkpatch.pl by using kmalloc_array over
kmalloc.

Note that this has no effect on runtime because 'parent_names'
is a pointer to a pointer.

Problem found using Coccinelle.

Signed-off-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2016-05-06 11:06:44 -07:00
..
Kconfig clk: bcm: Add BCM63138 clock support 2015-11-20 15:46:27 -08:00
Makefile Merge branch 'clk-bcm2835' into clk-next 2015-12-22 16:49:38 -08:00
clk-bcm63xx.c clk: bcm: Add BCM63138 clock support 2015-11-20 15:46:27 -08:00
clk-bcm281xx.c clk: bcm281xx: move compatible string definitions 2014-04-30 11:51:39 -07:00
clk-bcm2835-aux.c clk: bcm2835: fix check of error code returned by devm_ioremap_resource() 2016-03-15 18:14:11 -07:00
clk-bcm2835.c clk: bcm2835: Fix PLL poweron 2016-04-19 18:56:17 -07:00
clk-bcm21664.c clk: bcm21664: use common clock framework 2014-04-30 11:51:44 -07:00
clk-cygnus.c clk: iproc: Add support for Cygnus audio clocks 2016-01-29 16:31:38 -08:00
clk-iproc-armpll.c clk: iproc: add initial common clock support 2015-06-18 12:36:38 -07:00
clk-iproc-asiu.c clk: iproc: fix memory leak from clock name 2015-07-02 09:50:26 -07:00
clk-iproc-pll.c clk: iproc: Add support for Cygnus audio clocks 2016-01-29 16:31:38 -08:00
clk-iproc.h clk: iproc: Remove __init from header 2016-01-29 16:31:40 -08:00
clk-kona-setup.c clk: bcm/kona: Do not use sizeof on pointer type 2016-05-06 11:06:44 -07:00
clk-kona.c clk: bcm: Convert to clk_hw based provider APIs 2015-08-24 16:48:48 -07:00
clk-kona.h clk: bcm/kona: Remove ccu_list 2015-05-14 17:11:20 -07:00
clk-ns2.c clk: ns2: add clock support for Broadcom Northstar 2 SoC 2015-10-21 17:22:58 -07:00
clk-nsp.c clk: iproc: Split off dig_filter 2015-10-21 17:02:57 -07:00