projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e28d6
)
device: Fix comment for driver_data in struct device
author
David Engraf
<david.engraf@sysgo.com>
Tue, 5 Feb 2019 12:19:52 +0000
(13:19 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 8 Feb 2019 11:57:32 +0000
(12:57 +0100)
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>
include/linux/device.h
patch
|
blob
|
history
diff --git
a/include/linux/device.h
b/include/linux/device.h
index
a36830e
..
292b720
100644
(file)
--- 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;