[alsa-devel] [PATCH v4 3/6] ASoC: fsl_ssi: Save a dev reference for dev_err() purpose.

Fabio Estevam festevam at gmail.com
Sun May 8 00:54:42 CEST 2016


On Tue, May 3, 2016 at 9:17 AM, Timur Tabi <timur at tabi.org> wrote:
> Arnaud Mouiche wrote:
>>
>> diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
>> index 1a9d0ad..695f041 100644
>> --- a/sound/soc/fsl/fsl_ssi.c
>> +++ b/sound/soc/fsl/fsl_ssi.c
>> @@ -262,6 +262,7 @@ struct fsl_ssi_private {
>>         struct fsl_ssi_dbg dbg_stats;
>>
>>         const struct fsl_ssi_soc_data *soc;
>> +       struct device *dev;
>>   };
>
>
> I don't see where this pointer is used.

It is used in patch 5/6.


More information about the Alsa-devel mailing list