diff options
author | David Engraf <david.engraf@sysgo.com> | 2019-02-05 13:19:52 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-08 12:57:32 +0100 |
commit | 2c6f4fc884a46b17c501e7f276e8a4ab97437b50 (patch) | |
tree | cfadb2cc7ba1f6698c37bc927a153256dd72e7c5 | |
parent | kernfs: Allocating memory for kernfs_iattrs with kmem_cache. (diff) | |
download | linux-2c6f4fc884a46b17c501e7f276e8a4ab97437b50.tar.xz linux-2c6f4fc884a46b17c501e7f276e8a4ab97437b50.zip |
device: Fix comment for driver_data in struct device
dev_set_drvdata/dev_get_drvdata is used to access driver_data
in struct device.
Signed-off-by: David Engraf <david.engraf@sysgo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index a36830e2d0e5..292b720c4bc2 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -988,7 +988,7 @@ struct device { void *platform_data; /* Platform specific data, device core doesn't touch it */ void *driver_data; /* Driver data, set and get with - dev_set/get_drvdata */ + dev_set_drvdata/dev_get_drvdata */ struct dev_links_info links; struct dev_pm_info power; struct dev_pm_domain *pm_domain; |