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 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



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

  Powered by Linux