From: Alan Stern Date: Tue, 17 Jan 2012 16:39:00 +0000 (-0500) Subject: Documentation update for the driver model core X-Git-Tag: v3.3-rc2~13^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b10d5efdf7892d18b3b7d899edce2c8d9b80aea9;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed