diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2013-01-11 17:31:29 -0700 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-01-28 11:20:04 -0700 |
commit | 5b26c94cdc1a201f3ae1aa75bf8963da53e1aa71 (patch) | |
tree | afd5a8653a23f7c25cd8f82fbfe70278b832313d /arch/arm/boot/dts/tegra20.dtsi | |
parent | 16a665f805532ef3e3ff98fdbe0029dfee02df62 (diff) |
usb: phy: use kzalloc to allocate struct tegra_usb_phy
Use kzalloc instead of kmalloc to allocate struct tegra_usb_phy.
This ensures that all function pointers in member u_phy are
initialized to NULL.
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20.dtsi')
0 files changed, 0 insertions, 0 deletions