![](https://secure.gravatar.com/avatar/13eae1741516991622099593174f7830.jpg?s=120&d=mm&r=g)
On Mon, Dec 29, 2014 at 9:54 PM, Nicolin Chen nicoleotsuka@gmail.com wrote:
On Mon, Dec 29, 2014 at 07:57:26PM -0200, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@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@freescale.com
Acked-by: Nicolin Chen nicoleotsuka@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