diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-05-11 14:16:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 09:50:47 -0700 |
commit | b4028437876866aba4747a655ede00f892089e14 (patch) | |
tree | f6c34315c3e6d2899a894f028bd6f9899e80cd01 /drivers/base/bus.c | |
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>
Diffstat (limited to 'drivers/base/bus.c')
0 files changed, 0 insertions, 0 deletions