[alsa-devel] [PATCH] ASoC: fsl_esai: Use dev_name() for registering the irq

Fabio Estevam festevam at gmail.com
Tue Dec 30 02:24:15 CET 2014


On Mon, Dec 29, 2014 at 9:54 PM, Nicolin Chen <nicoleotsuka at gmail.com> wrote:
> On Mon, Dec 29, 2014 at 07:57:26PM -0200, Fabio Estevam wrote:
>> From: Fabio Estevam <fabio.estevam at freescale.com>
>>
>> The 'name' array is currently stored inside the fsl_esai private structure only
>> for registering the interrupt name.
>>
>> This can be simplified by registering it with dev_name() instead.
>>
>> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
>
> Acked-by: Nicolin Chen <nicoleotsuka at gmail.com>
>
> The name from dev_name() is a little different but doesn't matter.
> The code looks neater now. I think we may also apply similar ones
> to other drivers as well -- ASRC, SPDIF, etc. Would you like to
> send the patches? Otherwise, I can do this instead :)

Good point. Will send patches for asrc and spdif as well. Thanks


More information about the Alsa-devel mailing list