firewire: Make use of struct device_type.
authorKristian Høgsberg <krh@redhat.com>
Wed, 21 Mar 2007 00:58:33 +0000 (20:58 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 21 Mar 2007 23:48:49 +0000 (00:48 +0100)
commit21351dbe4e61270f28cf61c685c745416554a4f1
treefa9d847085be5aaf4478c7c5115cb7ec2c018034
parent945ac22253a09574da4ed568b426aef03722bfb6
firewire: Make use of struct device_type.

The device_type struct is useful for setting attributes for a device
and overriding .release and .uevent for a group of devices.  This patch
uses it this way to clean up the sysfs code a bit.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-device.c