Re: [PATCH 1/2] usb: typec: tcpm: Call init callback only when provided

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/11/21 2:21 AM, Bryan O'Donoghue wrote:
On 11/05/2021 03:44, Guenter Roeck wrote:
Are we going to see a driver with no init function ?
If not, I would suggest to make the call officially mandatory.

Guenter

again in plaintext..

I have some tpcm code that doesn't need to put anything into the init function which is how I found this.

Its very much up to yourself on making init() mandatory though. I'm just as happy to redo the patch and add a check to the add port routine


No need, but maybe submit the code that doesn't need it together
with the change making it optional so we can see the actual use case.

Thanks,
Guenter




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux