diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-06-11 14:00:05 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 20:01:36 -0700 |
commit | c9d53c0f2d23c792e4b9cf1551b63de4516f839e (patch) | |
tree | 0d3c822d06e99c37998aaa89a86696ba800871fb /drivers/bus | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-stable-c9d53c0f2d23c792e4b9cf1551b63de4516f839e.tar.gz linux-stable-c9d53c0f2d23c792e4b9cf1551b63de4516f839e.tar.bz2 linux-stable-c9d53c0f2d23c792e4b9cf1551b63de4516f839e.zip |
devres: remove devm_request_and_ioremap()
devm_request_and_ioremap() was obsoleted by the commit 7509657
("lib: devres: Introduce devm_ioremap_resource()") and has been
deprecated for a long time. So, let's remove this function.
In addition, all usages of devm_request_and_ioremap() are also
removed.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/brcmstb_gisb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/bus/brcmstb_gisb.c b/drivers/bus/brcmstb_gisb.c index 6159b7752a64..f2cd6a2d40b4 100644 --- a/drivers/bus/brcmstb_gisb.c +++ b/drivers/bus/brcmstb_gisb.c @@ -212,9 +212,9 @@ static int brcmstb_gisb_arb_probe(struct platform_device *pdev) mutex_init(&gdev->lock); INIT_LIST_HEAD(&gdev->next); - gdev->base = devm_request_and_ioremap(&pdev->dev, r); - if (!gdev->base) - return -ENOMEM; + gdev->base = devm_ioremap_resource(&pdev->dev, r); + if (IS_ERR(gdev->base)) + return PTR_ERR(gdev->base); err = devm_request_irq(&pdev->dev, timeout_irq, brcmstb_gisb_timeout_handler, 0, pdev->name, |