Driver Core: Warn driver authors about adding device attributes
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 6 Mar 2009 21:05:39 +0000 (14:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:23 +0000 (21:30 -0700)
commitb22813b373749d0878e7140e9a6eadf182298709
tree835af1d5dc204db9c36514cb21000b32abea27d4
parent3959214f971417f4162926ac52ad4cd042958caa
Driver Core: Warn driver authors about adding device attributes

Add a blurb to the driver-model documentation about how (not) to add
extra attributes to a struct device at driver probe time.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/driver-model/device.txt