[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190205121952.14873-1-david.engraf@sysgo.com>
Date: Tue, 5 Feb 2019 13:19:52 +0100
From: David Engraf <david.engraf@...go.com>
To: gregkh@...uxfoundation.org, andriy.shevchenko@...ux.intel.com,
rafael.j.wysocki@...el.com, hdegoede@...hat.com, aspriel@...il.com,
brgl@...ev.pl, heikki.krogerus@...ux.intel.com,
vivek.gautam@...eaurora.org, joe@...ches.com, jroedel@...e.de
Cc: linux-kernel@...r.kernel.org, David Engraf <david.engraf@...go.com>
Subject: [PATCH] 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@...go.com>
---
include/linux/device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/device.h b/include/linux/device.h
index 6cb4640b6160..601594771153 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -985,7 +985,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;
--
2.17.1
Powered by blists - more mailing lists