commit | b4028437876866aba4747a655ede00f892089e14 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Mon May 11 14:16:57 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Sep 15 09:50:47 2009 -0700 |
tree | f6c34315c3e6d2899a894f028bd6f9899e80cd01 | |
parent | 2023c610dc54a4f4130b0494309a9bd668ca3df8 [diff] |
Driver core: move dev_get/set_drvdata to drivers/base/dd.c No one should directly access the driver_data field, so remove the field and make it private. We dynamically create the private field now if it is needed, to handle drivers that call get/set before they are registered with the driver core. Also update the copyright notices on these files while we are there. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>