Skip to content

Commit 6090132

Browse files
Fabian Frederickgregkh
authored andcommitted
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: Fabian Frederick <fabf@skynet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent cbfef53 commit 6090132

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/devres.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ EXPORT_SYMBOL(devm_ioremap_resource);
157157
* if (!base)
158158
* return -EADDRNOTAVAIL;
159159
*/
160-
void __iomem *devm_request_and_ioremap(struct device *device,
160+
void __iomem *devm_request_and_ioremap(struct device *dev,
161161
struct resource *res)
162162
{
163163
void __iomem *dest_ptr;
164164

165-
dest_ptr = devm_ioremap_resource(device, res);
165+
dest_ptr = devm_ioremap_resource(dev, res);
166166
if (IS_ERR(dest_ptr))
167167
return NULL;
168168

0 commit comments

Comments
 (0)