summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/vdpa.c
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.com>2020-05-10 01:56:03 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-05-10 01:56:03 +0200
commitbf584e4dbd5bac7b1aaddbd33a7116364f919819 (patch)
tree1a4ebb22e283da0b363d9ad497f11624a2f4f439 /drivers/vdpa/vdpa.c
parentpower: reset: ltc2952: remove unused variable (diff)
parentregulator: use linear_ranges helper (diff)
downloadlinux-bf584e4dbd5bac7b1aaddbd33a7116364f919819.tar.xz
linux-bf584e4dbd5bac7b1aaddbd33a7116364f919819.zip
Merge tag 'tags/linear-ranges-lib' into psy-next
lib: Add linear ranges helper library and start using it Series extracts a "linear ranges" helper out of the regulator framework. Linear ranges helper is intended to help converting real-world values to register values when conversion is linear. I suspect this is useful also for power subsystem and possibly for clk. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/vdpa/vdpa.c')
-rw-r--r--drivers/vdpa/vdpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vdpa/vdpa.c b/drivers/vdpa/vdpa.c
index e9ed6a2b635b..ff6562f602e0 100644
--- a/drivers/vdpa/vdpa.c
+++ b/drivers/vdpa/vdpa.c
@@ -116,7 +116,7 @@ EXPORT_SYMBOL_GPL(__vdpa_alloc_device);
/**
* vdpa_register_device - register a vDPA device
- * Callers must have a succeed call of vdpa_init_device() before.
+ * Callers must have a succeed call of vdpa_alloc_device() before.
* @vdev: the vdpa device to be registered to vDPA bus
*
* Returns an error when fail to add to vDPA bus