lkml.org 
[lkml]   [2021]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support
Date
> 
> Why not use the miscdev name field?
>
miscdev name field is just a char pointer and I need an static array to manipulate the name with index

>
> So it's a parent? Why not make this a real platform_device pointer and not
> a device pointer?
>

It is not parent and mfd field is the parent

>
> What operations?
>

The MFD driver will create 2 devices, one is for phc driver and another one is this driver.
The lock is to make sure these 2 driver's operations are synchronized.

>
> Index into what?
>

index is passed by mfd driver and will be used as part of device name such as "rsmu0"

\
 
 \ /
  Last update: 2021-04-07 22:13    [W:1.801 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site