• Pierre-Louis Bossart's avatar
    ASoC: wm_hubs: align function prototype · 8ea9e29c
    Pierre-Louis Bossart authored
    cppcheck warnings:
    
    sound/soc/codecs/wm_hubs.c:1194:11: style:inconclusive: Function
    'wm_hubs_handle_analogue_pdata' argument 8 names different:
    declaration 'micbias1_dly' definition
    'micbias1_delay'. [funcArgNamesDifferent]
          int micbias1_delay, int micbias2_delay,
              ^
    sound/soc/codecs/wm_hubs.h:59:11: note: Function
    'wm_hubs_handle_analogue_pdata' argument 8 names different:
    declaration 'micbias1_dly' definition 'micbias1_delay'.
          int micbias1_dly, int micbias2_dly,
              ^
    sound/soc/codecs/wm_hubs.c:1194:11: note: Function
    'wm_hubs_handle_analogue_pdata' argument 8 names different:
    declaration 'micbias1_dly' definition 'micbias1_delay'.
          int micbias1_delay, int micbias2_delay,
              ^
    sound/soc/codecs/wm_hubs.c:1194:31: style:inconclusive: Function
    'wm_hubs_handle_analogue_pdata' argument 9 names different:
    declaration 'micbias2_dly' definition
    'micbias2_delay'. [funcArgNamesDifferent]
          int micbias1_delay, int micbias2_delay,
                                  ^
    sound/soc/codecs/wm_hubs.h:59:29: note: Function
    'wm_hubs_handle_analogue_pdata' argument 9 names different:
    declaration 'micbias2_dly' definition 'micbias2_delay'.
          int micbias1_dly, int micbias2_dly,
                                ^
    sound/soc/codecs/wm_hubs.c:1194:31: note: Function
    'wm_hubs_handle_analogue_pdata' argument 9 names different:
    declaration 'micbias2_dly' definition 'micbias2_delay'.
          int micbias1_delay, int micbias2_delay,
                                  ^
    Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
    Link: https://lore.kernel.org/r/20210311004332.120901-11-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
    8ea9e29c
wm_hubs.h 1.84 KB