Messages in this thread | | | Subject | Re: [PATCH v2 5/9] ASoC: tegra: add Tegra210 based AHUB driver | From | Dmitry Osipenko <> | Date | Thu, 30 Jan 2020 19:22:30 +0300 |
| |
30.01.2020 13:33, Sameer Pujar пишет: ... > +static int tegra_ahub_probe(struct platform_device *pdev) > +{ > + struct tegra_ahub *ahub; > + void __iomem *regs; > + int ret; > + > + ahub = devm_kcalloc(&pdev->dev, 1, sizeof(*ahub), GFP_KERNEL); > + if (!ahub) > + return -ENOMEM;
ahub = devm_kzalloc(&pdev->dev, sizeof(*ahub), GFP_KERNEL);
| |