Re: [PATCH v5 2/2] iio: adc: vf610_adc: limit i.MX6SX's channel number to 4

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

 



On Tue, Nov 26, 2024 at 4:53 PM Frank Li <Frank.Li@xxxxxxx> wrote:

> +       chip_info = device_get_match_data(dev);
> +       if (!chip_info)

This NULL check is not needed.

If the code entered probe(), a compatible was matched.





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux