The tcpm code treats the init callback as optional when registering a port but as required when doing a tcpm_init(). In addition we uniquely don't document init in struct tcpc_dev {}. This series fixes both situations calling tcpc_dev->init() only if the implementing driver provides an init and documenting init in the tcpc_dev data-structure for consistency. Bryan O'Donoghue (2): usb: typec: tcpm: Call init callback only when provided usb: typec: tcpm: Add a description for the init callback drivers/usb/typec/tcpm/tcpm.c | 3 ++- include/linux/usb/tcpm.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) -- 2.30.1