Re: [PATCH v2] i2c: Add i2c_get_match_data()

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

 



> +       if (client->dev.of_node)
>                 config = of_device_get_match_data(&client->dev);

Has it been considered adding this check to the new helper function as
well? Saves even more boilerplate code, I'd think.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux