[alsa-devel] [PATCH v3] ASoC: rt1308: Add RT1308 amplifier driver

Mark Brown broonie at kernel.org
Mon Jun 24 15:27:02 CEST 2019


On Mon, Jun 24, 2019 at 09:08:00PM +0800, derek.fang at realtek.com wrote:

> +static struct i2c_driver rt1308_i2c_driver = {
> +	.driver = {
> +		.name = "rt1308",
> +		.owner = THIS_MODULE,
> +#if defined(CONFIG_OF)
> +		.of_match_table = rt1308_of_match,
> +#endif

As I said last time this should be using of_match_ptr().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190624/770ed4ac/attachment.sig>


More information about the Alsa-devel mailing list