docs/driver-model: Document device.groups
authorBart Van Assche <bvanassche@acm.org>
Tue, 23 Aug 2011 17:27:27 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 24 Aug 2011 23:01:24 +0000 (16:01 -0700)
commitd58cb9cc8a46c9e539cbf8007cd5ede3c09c3524
tree39f10b718e1d084752dc97608c481509e06d52fc
parentebf4127cd677e9781b450e44dfaaa1cc595efcaa
docs/driver-model: Document device.groups

Several drivers use device_create_file() where device.groups should be
used instead. This patch documents that and also removes the comments
about device classes since these should not be used in new code in the
way documented until now in Documentation/driver-model/device.txt.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/driver-model/device.txt