Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Engraf and committed by
Greg Kroah-Hartman
2c6f4fc8 26e28d68

+1 -1
+1 -1
include/linux/device.h
··· 988 988 void *platform_data; /* Platform specific data, device 989 989 core doesn't touch it */ 990 990 void *driver_data; /* Driver data, set and get with 991 - dev_set/get_drvdata */ 991 + dev_set_drvdata/dev_get_drvdata */ 992 992 struct dev_links_info links; 993 993 struct dev_pm_info power; 994 994 struct dev_pm_domain *pm_domain;