diff options
author | Olof Johansson <olof@lixom.net> | 2014-03-21 01:37:17 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-03-21 01:37:17 +0400 |
commit | d79b757587ec9e343dafb4f214c4d7c04022c5f4 (patch) | |
tree | bbc5d7c4e7a38667e9f04f7e1af87c8281bf4e53 | |
parent | a65b5f4ccda42f416b7edf2c83ef9ccd5a8a181d (diff) | |
parent | 3cb3316cf7e817c39289c9ce17dcce2fabebb086 (diff) | |
download | linux-d79b757587ec9e343dafb4f214c4d7c04022c5f4.tar.xz |
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>
-rw-r--r-- | drivers/amba/tegra-ahb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index 1f44e56cc65d..558a239954e8 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c @@ -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); |