Re: [PATCH -v4 8_1/8] PCI, sys: Use device_type and attr_groups withpci dev

From: Greg KH
Date: Mon Oct 17 2011 - 14:52:38 EST


On Mon, Oct 17, 2011 at 11:27:18AM -0700, Yinghai Lu wrote:
>
> We want to create rescan in sys only for pci bridge instead of all pci dev.

Much nicer, and the best part, the code is much smaller :)

> Also We could add more attr groups with is_visible to reduce messness in
> pci_create_sysfs_dev_files. ( at least for boot_vga one )

Yes, you probably should.

Thanks for making the changes.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/