mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
Merge tag 'tegra-for-3.15-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers
Merge "ARM: tegra: driver changes for 3.15" from Stephen Warren: A single cleanup for the Tegra AHB driver. * tag 'tegra-for-3.15-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: drivers/amba: don't check resource with devm_ioremap_resource Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
@@ -256,8 +256,6 @@ static int tegra_ahb_probe(struct platform_device *pdev)
|
||||
return -ENOMEM;
|
||||
|
||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
if (!res)
|
||||
return -ENODEV;
|
||||
ahb->regs = devm_ioremap_resource(&pdev->dev, res);
|
||||
if (IS_ERR(ahb->regs))
|
||||
return PTR_ERR(ahb->regs);
|
||||
|
||||
Reference in New Issue
Block a user