Re: [PATCH 1/2] remoteproc: maintain a generic child device for each rproc

From: Ohad Ben-Cohen
Date: Fri Jun 29 2012 - 04:14:17 EST


On Wed, May 30, 2012 at 3:16 PM, Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote:
> In this case, I was more wondering between using a class to a device type.
>
>> I recall seeing a thread where
>> someone said classes were on the way out and shouldn't be used but I
>> can't find it anymore.
>
> I also remembered a similar discussion at a plumbers mini-conf about
> 2-3 years ago too, so I looked at device_type as an alternative to
> class. The former looks somewhat simpler, but I couldn't find any
> major advantage for using one over the other, and both seem to be in
> use by many subsystems.

Moving to device_type is so trivial that I gave it a spin (and moved
to IDA too while at it):