summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model/devres.txt
diff options
context:
space:
mode:
authorAlan Stern2012-01-17 17:39:00 +0100
committerGreg Kroah-Hartman2012-01-24 19:47:41 +0100
commitb10d5efdf7892d18b3b7d899edce2c8d9b80aea9 (patch)
treee1e00c06b0c7e75350afb8713968243ae8c6a89c /Documentation/driver-model/devres.txt
parentkernel-doc: fix new warnings in driver-core (diff)
downloadkernel-qcow2-linux-b10d5efdf7892d18b3b7d899edce2c8d9b80aea9.tar.gz
kernel-qcow2-linux-b10d5efdf7892d18b3b7d899edce2c8d9b80aea9.tar.xz
kernel-qcow2-linux-b10d5efdf7892d18b3b7d899edce2c8d9b80aea9.zip
Documentation update for the driver model core
This patch (as1509) documents two important points regarding the use of device structures in the driver model: Structures must be initialized to all 0's before they are passed to device_initialize(). Structures must not be passed to device_add() or device_register() more than once. Although these restrictions have applied ever since the driver model was first created, they have not been mentioned anywhere. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/driver-model/devres.txt')
0 files changed, 0 insertions, 0 deletions