Thread (3 messages) flat view 3 messages, 2 authors, 2009-05-04

Re: [PATCH] sound: remove driver_data direct access of struct device

From: Mark Brown <hidden>
Date: 2009-05-04 20:41:38

On Mon, May 04, 2009 at 01:19:36PM -0700, Greg Kroah-Hartman wrote:
From: Greg Kroah-Hartman <gregkh@suse.de>

In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device.  Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used.  These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.
Cc: Takashi Iwai <redacted>
Acked-by: Mark Brown <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help