ktypes vs. devices classes (struct class)

Richard <[email protected]>
Newsgroups gmane.linux.kernel.kernelnewbies
Message-ID <[email protected]>
Hi all,

Why do we have ktypes (struct kobj_type) AND device classes (struct class)?

Don't they serve the same purpose (more or less) and it would be 
simpler, clearer and more KISS to only have one? Is this a historically 
grown thing or by design?

Thanks,
-- Richard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.