summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2017-04-19 12:48:54 -0400
committerBjorn Helgaas <bhelgaas@google.com>2017-04-24 14:53:13 -0400
commit6524754eff305760d0b31dac468e78057a56f47e (patch)
treefb704e24e0927954dfd754349c163fa56b64dcb7
parentb9cdbe6e39351f0ba6cc0c5bc218443f0898e123 (diff)
devres: fix devm_ioremap_*() offset parameter kerneldoc description
The offset parameter in the devres devm_ioremap_*() functions kerneldoc entries is erroneously defined as BUS offset whereas it is actually a resource address. Since it is actually misleading, fix the devres devm_ioremap_* offset parameter kerneldoc entry by replacing BUS offset with a more suitable description (ie Resource address). Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Tejun Heo <tj@kernel.org>
-rw-r--r--lib/devres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/devres.c b/lib/devres.c
index cb1464c411a2..78eca713b1d9 100644
--- a/lib/devres.c
+++ b/lib/devres.c
@@ -17,7 +17,7 @@ static int devm_ioremap_match(struct device *dev, void *res, void *match_data)
17/** 17/**
18 * devm_ioremap - Managed ioremap() 18 * devm_ioremap - Managed ioremap()
19 * @dev: Generic device to remap IO address for 19 * @dev: Generic device to remap IO address for
20 * @offset: BUS offset to map 20 * @offset: Resource address to map
21 * @size: Size of map 21 * @size: Size of map
22 * 22 *
23 * Managed ioremap(). Map is automatically unmapped on driver detach. 23 * Managed ioremap(). Map is automatically unmapped on driver detach.
@@ -45,7 +45,7 @@ EXPORT_SYMBOL(devm_ioremap);
45/** 45/**
46 * devm_ioremap_nocache - Managed ioremap_nocache() 46 * devm_ioremap_nocache - Managed ioremap_nocache()
47 * @dev: Generic device to remap IO address for 47 * @dev: Generic device to remap IO address for
48 * @offset: BUS offset to map 48 * @offset: Resource address to map
49 * @size: Size of map 49 * @size: Size of map
50 * 50 *
51 * Managed ioremap_nocache(). Map is automatically unmapped on driver 51 * Managed ioremap_nocache(). Map is automatically unmapped on driver
@@ -74,7 +74,7 @@ EXPORT_SYMBOL(devm_ioremap_nocache);
74/** 74/**
75 * devm_ioremap_wc - Managed ioremap_wc() 75 * devm_ioremap_wc - Managed ioremap_wc()
76 * @dev: Generic device to remap IO address for 76 * @dev: Generic device to remap IO address for
77 * @offset: BUS offset to map 77 * @offset: Resource address to map
78 * @size: Size of map 78 * @size: Size of map
79 * 79 *
80 * Managed ioremap_wc(). Map is automatically unmapped on driver detach. 80 * Managed ioremap_wc(). Map is automatically unmapped on driver detach.