From: David Engraf <david.engraf@sysgo.com>
To: gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com,
rafael.j.wysocki@intel.com, hdegoede@redhat.com,
aspriel@gmail.com, brgl@bgdev.pl,
heikki.krogerus@linux.intel.com, vivek.gautam@codeaurora.org,
joe@perches.com, jroedel@suse.de
Cc: linux-kernel@vger.kernel.org, David Engraf <david.engraf@sysgo.com>
Subject: [PATCH] device: Fix comment for driver_data in struct device
Date: Tue, 5 Feb 2019 13:19:52 +0100 [thread overview]
Message-ID: <20190205121952.14873-1-david.engraf@sysgo.com> (raw)
dev_set_drvdata/dev_get_drvdata is used to access driver_data
in struct device.
Signed-off-by: David Engraf <david.engraf@sysgo.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
next reply other threads:[~2019-02-05 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-05 12:19 David Engraf [this message]
2019-02-05 13:23 ` [PATCH] device: Fix comment for driver_data in struct device Andy Shevchenko
2019-02-06 7:49 ` David Engraf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190205121952.14873-1-david.engraf@sysgo.com \
--to=david.engraf@sysgo.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=aspriel@gmail.com \
--cc=brgl@bgdev.pl \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=heikki.krogerus@linux.intel.com \
--cc=joe@perches.com \
--cc=jroedel@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=vivek.gautam@codeaurora.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.