Messages in this thread | | | Date | Fri, 10 Dec 2010 11:36:37 -0800 | From | Greg KH <> | Subject | Re: [Scst-devel] [PATCH 8/19]: SCST SYSFS interface implementation |
| |
On Fri, Dec 10, 2010 at 01:06:06PM +0100, Bart Van Assche wrote: > On Fri, Nov 19, 2010 at 10:19 PM, Greg KH <greg@kroah.com> wrote: > > [ ... ] > > > > None. Use 'struct device' > > How about using 'struct device' as follows ? > * Move /sys/kernel/scst_tgt/targets to /sys/class/target_driver.
Please never create a new class, use 'struct bus_type' instead and create a bus and have drivers and devices on it.
thanks,
greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |