> It is possible that `pci_device_id_any` will be passed to the driver, e.g. > `driver_override` is used on the device. Therefore, the driver must be able > to handle the case where `driver_data` is 0. Thus, update the `probe` > functions to get `Option`. > > The current code cannot tell if the info does not exist or is the first > entry; however this will be achievable once the code is updated to use a > `&'static IdInfo` pointer instead of indices. > > Signed-off-by: Gary Guo <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=3
