[alsa-devel] [PATCH v2 0/2] Fix some 'const' problems

Jean-Francois Moine moinejf at free.fr
Sun Nov 9 20:40:21 CET 2014


A cast was often needed to call some OF functions, removing
a 'const' attribute.
This patchset removes 'const' from the device_node pointers of the
sound/soc structures and also removes some useless casts
in the sound/soc tree.

v2: remove const from the pointers instead of modifying the
    OF functions (Russell King)

Jean-Francois Moine (2):
  ASoC: Remove 'const' from the device_node pointers
  ASoC: simple-card: Remove useless casts

 include/sound/soc.h                   | 6 +++---
 sound/soc/generic/simple-card.c       | 7 ++-----
 sound/soc/samsung/odroidx2_max98090.c | 4 ++--
 sound/soc/ux500/mop500.c              | 6 ++----
 4 files changed, 9 insertions(+), 14 deletions(-)

-- 
2.1.3



More information about the Alsa-devel mailing list