RE: [PATCH next 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support

From: Min Li
Date: Sun Apr 04 2021 - 21:53:13 EST


>
> Any specific reason you are not using the misc_device api? That would clean
> up this driver a lot, there's no need to create a whole class just for a single
> driver.
>

Hi Greg

No specific reason. I just didn't know the existence of misc_register API.
Do you recommend using this API to create the device? If yes,
can you tell me how to obtain a appropriate MINOR number from miscdevice.h?

Thanks

Min