Commit 60901320 authored by Fabian Frederick's avatar Fabian Frederick Committed by Greg Kroah-Hartman

lib/devres.c: use dev in devm_request_and_ioremap

devm_request_and_ioremap was the only function to use device
instead of dev. This fixes kernel-doc warning.

Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cbfef533
...@@ -157,12 +157,12 @@ EXPORT_SYMBOL(devm_ioremap_resource); ...@@ -157,12 +157,12 @@ EXPORT_SYMBOL(devm_ioremap_resource);
* if (!base) * if (!base)
* return -EADDRNOTAVAIL; * return -EADDRNOTAVAIL;
*/ */
void __iomem *devm_request_and_ioremap(struct device *device, void __iomem *devm_request_and_ioremap(struct device *dev,
struct resource *res) struct resource *res)
{ {
void __iomem *dest_ptr; void __iomem *dest_ptr;
dest_ptr = devm_ioremap_resource(device, res); dest_ptr = devm_ioremap_resource(dev, res);
if (IS_ERR(dest_ptr)) if (IS_ERR(dest_ptr))
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment